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