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