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