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