#2E282A
Dark Gray
HEX
RGB
HSL
About #2E282A Dark Gray
#2E282A is a dark gray color. In the RGB color model, it is composed of 46 red, 40 green, and 42 blue. In the HSL color space, it has a hue of 340°, saturation of 7%, and lightness of 17%.
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 #2E282A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
340°
Hue
7%
Saturation
17%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #2E282A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2E282A against white and black backgrounds.
Aa#2E282A on White
Contrast Ratio14.45:1
AA ✓AA Large ✓AAA ✓
Aa#2E282A on Black
Contrast Ratio1.45:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2E282A across different color formats.
| Format | Value |
|---|---|
| HEX | #2E282A |
| RGB | rgb(46, 40, 42) |
| HSL | hsl(340, 7%, 17%) |
| RGB Decimal | 46, 40, 42 |
| RGB Percent | 18.0%, 15.7%, 16.5% |
| CMYK (approx.) | 0%, 13%, 9%, 82% |
Related Palettes
12 palettes using #2E282A or similar colors