#222187#222187
#222187 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.163 H 273.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #222187 |
|---|---|
| RGB | rgb(34, 33, 135) |
| HSL | hsl(241, 61%, 33%) |
| HSV | hsv(241, 76%, 53%) |
| CMYK | cmyk(74.8%, 75.6%, 0%, 47.1%) |
| CIE-LAB | lab(20.74, 35.92, -56.18) |
| CIE-LCH | lch(20.74, 66.68, 302.60°) |
| OKLab | oklab(33.2% 0.0098 -0.1625) |
| OKLCH | oklch(33.2% 0.163 273.5) |
| XYZ | xyz(5.5753, 3.1765, 23.2363) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.07
Midnight Blue
#191970
ΔE00 3.90
Cobalt Blue
#030AA7
ΔE00 5.88
Darkblue
#00008B
ΔE00 6.03
Indigo (survey)
#380282
ΔE00 6.28
Navy
#000080
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222187 #868721
analogous
#215387 #222187 #552187
triadic
#222187 #872221 #218722
tetradic
#222187 #872153 #868721 #218755
square
#222187 #872153 #868721 #218755
split-complementary
#222187 #875521 #538721
monochromatic
#090925 #161556 #222187 #2E2DB8 #504FD4
Accessibility & contrast
On white
12.84
#222187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#222187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222187
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222187 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #222187; /* rgb */ color: rgb(34, 33, 135); /* oklch */ color: oklch(33.2% 0.163 273.5);
Tailwind
colors: {
custom: {
50: '#6e5eab',
500: '#222187',
950: '#000000',
},
}SCSS
$custom: #222187; $custom-light: #6e5eab; $custom-dark: #000000;
JSON
{
"hex": "#222187",
"rgb": {
"r": 34,
"g": 33,
"b": 135
},
"hsl": {
"h": 240.588,
"s": 60.714,
"l": 32.941
},
"oklch": {
"l": 0.33198,
"c": 0.16282,
"h": 273.5
},
"luminance": 0.03177
}Semantic roles & 50–950 ramp
primary
#222187
secondary
#B6B74D
accent
#E444E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F