#212831
Dark Blue
HEX
RGB
HSL
About #212831 Dark Blue
#212831 is a dark blue color. In the RGB color model, it is composed of 33 red, 40 green, and 49 blue. In the HSL color space, it has a hue of 214°, saturation of 20%, 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 #212831 in your CSS, SCSS, or Tailwind projects.
Color Properties
214°
Hue
20%
Saturation
16%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #212831 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #212831 against white and black backgrounds.
Aa#212831 on White
Contrast Ratio14.87:1
AA ✓AA Large ✓AAA ✓
Aa#212831 on Black
Contrast Ratio1.41:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #212831 across different color formats.
| Format | Value |
|---|---|
| HEX | #212831 |
| RGB | rgb(33, 40, 49) |
| HSL | hsl(214, 20%, 16%) |
| RGB Decimal | 33, 40, 49 |
| RGB Percent | 12.9%, 15.7%, 19.2% |
| CMYK (approx.) | 33%, 18%, 0%, 81% |
Related Palettes
12 palettes using #212831 or similar colors