#22188E#22188E
#22188E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.180 H 273.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #22188E |
|---|---|
| RGB | rgb(34, 24, 142) |
| HSL | hsl(245, 71%, 33%) |
| HSV | hsv(245, 83%, 56%) |
| CMYK | cmyk(76.1%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(19.83, 43.19, -62.07) |
| CIE-LCH | lch(19.83, 75.61, 304.83°) |
| OKLab | oklab(32.79% 0.0121 -0.1795) |
| OKLCH | oklch(32.79% 0.18 273.8) |
| XYZ | xyz(5.8672, 2.9457, 25.8453) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.50
Cobalt Blue
#030AA7
ΔE00 3.83
Darkblue
#00008B
ΔE00 4.03
Royal Blue (survey)
#0504AA
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 4.61
Navy
#000080
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22188E #848E18
analogous
#18498E #22188E #5D188E
triadic
#22188E #8E2218 #188E22
tetradic
#22188E #8E1849 #848E18 #188E5D
square
#22188E #8E1849 #848E18 #188E5D
split-complementary
#22188E #8E5D18 #498E18
monochromatic
#090625 #150F5A #22188E #2F21C2 #4F41DF
Accessibility & contrast
On white
13.21
#22188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#22188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22188E
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22188E | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #22188e; /* rgb */ color: rgb(34, 24, 142); /* oklch */ color: oklch(32.8% 0.180 273.8);
Tailwind
colors: {
custom: {
50: '#7159b0',
500: '#22188e',
950: '#000000',
},
}SCSS
$custom: #22188e; $custom-light: #7159b0; $custom-dark: #000000;
JSON
{
"hex": "#22188e",
"rgb": {
"r": 34,
"g": 24,
"b": 142
},
"hsl": {
"h": 245.085,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.32794,
"c": 0.17992,
"h": 273.8
},
"luminance": 0.02946
}Semantic roles & 50–950 ramp
primary
#22188E
secondary
#B5C042
accent
#EE3ADF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980