#212A91
Blue
HEX
RGB
HSL
About #212A91 Blue
#212A91 is a blue color. In the RGB color model, it is composed of 33 red, 42 green, and 145 blue. In the HSL color space, it has a hue of 235°, saturation of 63%, and lightness of 35%.
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 #212A91 in your CSS, SCSS, or Tailwind projects.
Color Properties
235°
Hue
63%
Saturation
35%
Lightness
Blue
Color Harmonies
Colors that work well with #212A91 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #212A91 against white and black backgrounds.
Aa#212A91 on White
Contrast Ratio11.64:1
AA ✓AA Large ✓AAA ✓
Aa#212A91 on Black
Contrast Ratio1.8:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #212A91 across different color formats.
| Format | Value |
|---|---|
| HEX | #212A91 |
| RGB | rgb(33, 42, 145) |
| HSL | hsl(235, 63%, 35%) |
| RGB Decimal | 33, 42, 145 |
| RGB Percent | 12.9%, 16.5%, 56.9% |
| CMYK (approx.) | 77%, 71%, 0%, 43% |
Related Palettes
12 palettes using #212A91 or similar colors