#212D5F
Blue
HEX
RGB
HSL
About #212D5F Blue
#212D5F is a blue color. In the RGB color model, it is composed of 33 red, 45 green, and 95 blue. In the HSL color space, it has a hue of 228°, saturation of 48%, and lightness of 25%.
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 #212D5F in your CSS, SCSS, or Tailwind projects.
Color Properties
228°
Hue
48%
Saturation
25%
Lightness
Blue
Color Harmonies
Colors that work well with #212D5F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #212D5F against white and black backgrounds.
Aa#212D5F on White
Contrast Ratio13.08:1
AA ✓AA Large ✓AAA ✓
Aa#212D5F on Black
Contrast Ratio1.61:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #212D5F across different color formats.
| Format | Value |
|---|---|
| HEX | #212D5F |
| RGB | rgb(33, 45, 95) |
| HSL | hsl(228, 48%, 25%) |
| RGB Decimal | 33, 45, 95 |
| RGB Percent | 12.9%, 17.6%, 37.3% |
| CMYK (approx.) | 65%, 53%, 0%, 63% |
Related Palettes
12 palettes using #212D5F or similar colors