#212D7D
Blue
HEX
RGB
HSL
About #212D7D Blue
#212D7D is a blue color. In the RGB color model, it is composed of 33 red, 45 green, and 125 blue. In the HSL color space, it has a hue of 232°, saturation of 58%, and lightness of 31%.
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 & Gradients
Use #212D7D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
232°
Hue
58%
Saturation
31%
Lightness
Blue
Color Harmonies
Colors that work well with #212D7D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #212D7D against white and black backgrounds.
Aa#212D7D on White
Contrast Ratio12.1:1
AA ✓AA Large ✓AAA ✓
Aa#212D7D on Black
Contrast Ratio1.74:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #212D7D across different color formats.
| Format | Value |
|---|---|
| HEX | #212D7D |
| RGB | rgb(33, 45, 125) |
| HSL | hsl(232, 58%, 31%) |
| RGB Decimal | 33, 45, 125 |
| RGB Percent | 12.9%, 17.6%, 49.0% |
| CMYK (approx.) | 74%, 64%, 0%, 51% |
Related Palettes
12 palettes using #212D7D or similar colors