#222185#222185
#222185 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.160 H 273.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #222185 |
|---|---|
| RGB | rgb(34, 33, 133) |
| HSL | hsl(241, 60%, 33%) |
| HSV | hsv(241, 75%, 52%) |
| CMYK | cmyk(74.4%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.52, 35.22, -55.28) |
| CIE-LCH | lch(20.52, 65.55, 302.50°) |
| OKLab | oklab(32.98% 0.0102 -0.1599) |
| OKLCH | oklch(32.98% 0.16 273.6) |
| XYZ | xyz(5.4358, 3.1207, 22.5016) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.28
Midnight Blue
#191970
ΔE00 3.64
Darkblue
#00008B
ΔE00 6.12
Cobalt Blue
#030AA7
ΔE00 6.14
Indigo (survey)
#380282
ΔE00 6.32
Navy
#000080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222185 #848521
analogous
#215285 #222185 #542185
triadic
#222185 #852221 #218522
tetradic
#222185 #852152 #848521 #218554
square
#222185 #852152 #848521 #218554
split-complementary
#222185 #855421 #528521
monochromatic
#090923 #151554 #222185 #2F2DB6 #4F4DD3
Accessibility & contrast
On white
12.93
#222185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#222185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222185
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222185 | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #222185; /* rgb */ color: rgb(34, 33, 133); /* oklch */ color: oklch(33.0% 0.160 273.6);
Tailwind
colors: {
custom: {
50: '#6e5daa',
500: '#222185',
950: '#000000',
},
}SCSS
$custom: #222185; $custom-light: #6e5daa; $custom-dark: #000000;
JSON
{
"hex": "#222185",
"rgb": {
"r": 34,
"g": 33,
"b": 133
},
"hsl": {
"h": 240.6,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.32979,
"c": 0.16022,
"h": 273.6
},
"luminance": 0.03121
}Semantic roles & 50–950 ramp
primary
#222185
secondary
#B5B64C
accent
#E344E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F