#42474D
Dark Gray
HEX
RGB
HSL
About #42474D Dark Gray
#42474D is a dark gray color. In the RGB color model, it is composed of 66 red, 71 green, and 77 blue. In the HSL color space, it has a hue of 213°, saturation of 8%, and lightness of 28%.
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 & Gradients
Use #42474D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
213°
Hue
8%
Saturation
28%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #42474D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #42474D against white and black backgrounds.
Aa#42474D on White
Contrast Ratio9.37:1
AA ✓AA Large ✓AAA ✓
Aa#42474D on Black
Contrast Ratio2.24:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #42474D across different color formats.
| Format | Value |
|---|---|
| HEX | #42474D |
| RGB | rgb(66, 71, 77) |
| HSL | hsl(213, 8%, 28%) |
| RGB Decimal | 66, 71, 77 |
| RGB Percent | 25.9%, 27.8%, 30.2% |
| CMYK (approx.) | 14%, 8%, 0%, 70% |
Related Palettes
12 palettes using #42474D or similar colors