#12156E
Blue
HEX
RGB
HSL
About #12156E Blue
#12156E is a blue color. In the RGB color model, it is composed of 18 red, 21 green, and 110 blue. In the HSL color space, it has a hue of 238°, saturation of 72%, and lightness of 25%.
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
Use #12156E in your CSS, SCSS, or Tailwind projects.
Color Properties
238°
Hue
72%
Saturation
25%
Lightness
Blue
Color Harmonies
Colors that work well with #12156E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #12156E against white and black backgrounds.
Aa#12156E on White
Contrast Ratio15.46:1
AA ✓AA Large ✓AAA ✓
Aa#12156E on Black
Contrast Ratio1.36:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #12156E across different color formats.
| Format | Value |
|---|---|
| HEX | #12156E |
| RGB | rgb(18, 21, 110) |
| HSL | hsl(238, 72%, 25%) |
| RGB Decimal | 18, 21, 110 |
| RGB Percent | 7.1%, 8.2%, 43.1% |
| CMYK (approx.) | 84%, 81%, 0%, 57% |
Related Palettes
12 palettes using #12156E or similar colors