#31312B
Dark Gray
HEX
RGB
HSL
About #31312B Dark Gray
#31312B is a dark gray color. In the RGB color model, it is composed of 49 red, 49 green, and 43 blue. In the HSL color space, it has a hue of 60°, saturation of 7%, and lightness of 18%.
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 #31312B in your CSS, SCSS, or Tailwind projects.
Color Properties
60°
Hue
7%
Saturation
18%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #31312B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #31312B against white and black backgrounds.
Aa#31312B on White
Contrast Ratio13.09:1
AA ✓AA Large ✓AAA ✓
Aa#31312B on Black
Contrast Ratio1.6:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #31312B across different color formats.
| Format | Value |
|---|---|
| HEX | #31312B |
| RGB | rgb(49, 49, 43) |
| HSL | hsl(60, 7%, 18%) |
| RGB Decimal | 49, 49, 43 |
| RGB Percent | 19.2%, 19.2%, 16.9% |
| CMYK (approx.) | 0%, 0%, 12%, 81% |
Related Palettes
12 palettes using #31312B or similar colors