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