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