#28272F
Dark Gray
HEX
RGB
HSL
About #28272F Dark Gray
#28272F is a dark gray color. In the RGB color model, it is composed of 40 red, 39 green, and 47 blue. In the HSL color space, it has a hue of 248°, saturation of 9%, and lightness of 17%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #28272F in your CSS, SCSS, or Tailwind projects.
Color Properties
248°
Hue
9%
Saturation
17%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #28272F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #28272F against white and black backgrounds.
Aa#28272F on White
Contrast Ratio14.77:1
AA ✓AA Large ✓AAA ✓
Aa#28272F on Black
Contrast Ratio1.42:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #28272F across different color formats.
| Format | Value |
|---|---|
| HEX | #28272F |
| RGB | rgb(40, 39, 47) |
| HSL | hsl(248, 9%, 17%) |
| RGB Decimal | 40, 39, 47 |
| RGB Percent | 15.7%, 15.3%, 18.4% |
| CMYK (approx.) | 15%, 17%, 0%, 82% |
Related Palettes
12 palettes using #28272F or similar colors