#22158A
Blue
HEX
RGB
HSL
About #22158A Blue
#22158A is a blue color. In the RGB color model, it is composed of 34 red, 21 green, and 138 blue. In the HSL color space, it has a hue of 247°, saturation of 74%, and lightness of 31%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #22158A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
247°
Hue
74%
Saturation
31%
Lightness
Blue
Color Harmonies
Colors that work well with #22158A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #22158A against white and black backgrounds.
Aa#22158A on White
Contrast Ratio13.62:1
AA ✓AA Large ✓AAA ✓
Aa#22158A on Black
Contrast Ratio1.54:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #22158A across different color formats.
| Format | Value |
|---|---|
| HEX | #22158A |
| RGB | rgb(34, 21, 138) |
| HSL | hsl(247, 74%, 31%) |
| RGB Decimal | 34, 21, 138 |
| RGB Percent | 13.3%, 8.2%, 54.1% |
| CMYK (approx.) | 75%, 85%, 0%, 46% |
Related Palettes
12 palettes using #22158A or similar colors