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