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