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