#222386#222386
#222386 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.159 H 273.2°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #222386 |
|---|---|
| RGB | rgb(34, 35, 134) |
| HSL | hsl(239, 60%, 33%) |
| HSV | hsv(239, 75%, 53%) |
| CMYK | cmyk(74.6%, 73.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.07, 34.35, -55.01) |
| CIE-LCH | lch(21.07, 64.85, 301.99°) |
| OKLab | oklab(33.4% 0.0089 -0.1591) |
| OKLCH | oklch(33.4% 0.159 273.2) |
| XYZ | xyz(5.5624, 3.2628, 22.8863) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.58
Midnight Blue
#191970
ΔE00 3.97
Cobalt Blue
#030AA7
ΔE00 6.37
Darkblue
#00008B
ΔE00 6.59
Indigo (survey)
#380282
ΔE00 6.80
Navy
#000080
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222386 #868522
analogous
#225586 #222386 #532286
triadic
#222386 #862223 #238622
tetradic
#222386 #862255 #868522 #228653
square
#222386 #862255 #868522 #228653
split-complementary
#222386 #865322 #558622
monochromatic
#090924 #161655 #222386 #2E30B7 #5051D3
Accessibility & contrast
On white
12.71
#222386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#222386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222386
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222386 | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #222386; /* rgb */ color: rgb(34, 35, 134); /* oklch */ color: oklch(33.4% 0.159 273.2);
Tailwind
colors: {
custom: {
50: '#6e5faa',
500: '#222386',
950: '#000000',
},
}SCSS
$custom: #222386; $custom-light: #6e5faa; $custom-dark: #000000;
JSON
{
"hex": "#222386",
"rgb": {
"r": 34,
"g": 35,
"b": 134
},
"hsl": {
"h": 239.4,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.33401,
"c": 0.15936,
"h": 273.2
},
"luminance": 0.03263
}Semantic roles & 50–950 ramp
primary
#222386
secondary
#B6B54E
accent
#E145E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F