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