#2A252C
Dark Gray
HEX
RGB
HSL
About #2A252C Dark Gray
#2A252C is a dark gray color. In the RGB color model, it is composed of 42 red, 37 green, and 44 blue. In the HSL color space, it has a hue of 283°, saturation of 9%, and lightness of 16%.
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 #2A252C in your CSS, SCSS, or Tailwind projects.
Color Properties
283°
Hue
9%
Saturation
16%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #2A252C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A252C against white and black backgrounds.
Aa#2A252C on White
Contrast Ratio15.01:1
AA ✓AA Large ✓AAA ✓
Aa#2A252C on Black
Contrast Ratio1.4:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2A252C across different color formats.
| Format | Value |
|---|---|
| HEX | #2A252C |
| RGB | rgb(42, 37, 44) |
| HSL | hsl(283, 9%, 16%) |
| RGB Decimal | 42, 37, 44 |
| RGB Percent | 16.5%, 14.5%, 17.3% |
| CMYK (approx.) | 5%, 16%, 0%, 83% |
Related Palettes
12 palettes using #2A252C or similar colors