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