#212F40
Dark Blue
HEX
RGB
HSL
About #212F40 Dark Blue
#212F40 is a dark blue color. In the RGB color model, it is composed of 33 red, 47 green, and 64 blue. In the HSL color space, it has a hue of 213°, saturation of 32%, and lightness of 19%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #212F40 in your CSS, SCSS, or Tailwind projects.
Color Properties
213°
Hue
32%
Saturation
19%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #212F40 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #212F40 against white and black backgrounds.
Aa#212F40 on White
Contrast Ratio13.59:1
AA ✓AA Large ✓AAA ✓
Aa#212F40 on Black
Contrast Ratio1.55:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #212F40 across different color formats.
| Format | Value |
|---|---|
| HEX | #212F40 |
| RGB | rgb(33, 47, 64) |
| HSL | hsl(213, 32%, 19%) |
| RGB Decimal | 33, 47, 64 |
| RGB Percent | 12.9%, 18.4%, 25.1% |
| CMYK (approx.) | 48%, 27%, 0%, 75% |
Related Palettes
12 palettes using #212F40 or similar colors