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