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