#22188B#22188B
#22188B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.176 H 274.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #22188B |
|---|---|
| RGB | rgb(34, 24, 139) |
| HSL | hsl(245, 71%, 32%) |
| HSV | hsv(245, 83%, 55%) |
| CMYK | cmyk(75.5%, 82.7%, 0%, 45.5%) |
| CIE-LAB | lab(19.46, 42.23, -60.79) |
| CIE-LCH | lch(19.46, 74.02, 304.78°) |
| OKLab | oklab(32.44% 0.0129 -0.1758) |
| OKLCH | oklch(32.44% 0.176 274.2) |
| XYZ | xyz(5.6450, 2.8569, 24.6750) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.72
Darkblue
#00008B
ΔE00 4.01
Cobalt Blue
#030AA7
ΔE00 4.20
Midnight Blue
#191970
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 4.51
Navy
#000080
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22188B #818B18
analogous
#18488B #22188B #5B188B
triadic
#22188B #8B2218 #188B22
tetradic
#22188B #8B1848 #818B18 #188B5B
square
#22188B #8B1848 #818B18 #188B5B
split-complementary
#22188B #8B5B18 #488B18
monochromatic
#080623 #150F57 #22188B #2F21BF #4D3FDE
Accessibility & contrast
On white
13.36
#22188B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#22188B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22188B
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22188B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22188B | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #22188b; /* rgb */ color: rgb(34, 24, 139); /* oklch */ color: oklch(32.4% 0.176 274.2);
Tailwind
colors: {
custom: {
50: '#7058ae',
500: '#22188b',
950: '#000000',
},
}SCSS
$custom: #22188b; $custom-light: #7058ae; $custom-dark: #000000;
JSON
{
"hex": "#22188b",
"rgb": {
"r": 34,
"g": 24,
"b": 139
},
"hsl": {
"h": 245.217,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.32436,
"c": 0.1763,
"h": 274.2
},
"luminance": 0.02857
}Semantic roles & 50–950 ramp
primary
#22188B
secondary
#B3BE40
accent
#ED3ADE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F