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