#2A2F27
Dark Gray
HEX
RGB
HSL
About #2A2F27 Dark Gray
#2A2F27 is a dark gray color. In the RGB color model, it is composed of 42 red, 47 green, and 39 blue. In the HSL color space, it has a hue of 98°, 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 #2A2F27 in your CSS, SCSS, or Tailwind projects.
Color Properties
98°
Hue
9%
Saturation
17%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #2A2F27 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A2F27 against white and black backgrounds.
Aa#2A2F27 on White
Contrast Ratio13.69:1
AA ✓AA Large ✓AAA ✓
Aa#2A2F27 on Black
Contrast Ratio1.53:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2A2F27 across different color formats.
| Format | Value |
|---|---|
| HEX | #2A2F27 |
| RGB | rgb(42, 47, 39) |
| HSL | hsl(98, 9%, 17%) |
| RGB Decimal | 42, 47, 39 |
| RGB Percent | 16.5%, 18.4%, 15.3% |
| CMYK (approx.) | 11%, 0%, 17%, 82% |
Related Palettes
12 palettes using #2A2F27 or similar colors