#221686#221686
#221686 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.172 H 275.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #221686 |
|---|---|
| RGB | rgb(34, 22, 134) |
| HSL | hsl(246, 72%, 31%) |
| HSV | hsv(246, 84%, 53%) |
| CMYK | cmyk(74.6%, 83.6%, 0%, 47.5%) |
| CIE-LAB | lab(18.52, 41.62, -59.22) |
| CIE-LCH | lch(18.52, 72.38, 305.10°) |
| OKLab | oklab(31.61% 0.015 -0.1712) |
| OKLCH | oklch(31.61% 0.172 275) |
| XYZ | xyz(5.2483, 2.6346, 22.7816) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.27
Darkblue
#00008B
ΔE00 3.74
Midnight Blue
#191970
ΔE00 3.86
Navy
#000080
ΔE00 4.10
Indigo (survey)
#380282
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221686 #7A8616
analogous
#164286 #221686 #5A1686
triadic
#221686 #862216 #168622
tetradic
#221686 #861642 #7A8616 #16865A
square
#221686 #861642 #7A8616 #16865A
split-complementary
#221686 #865A16 #428616
monochromatic
#07051D #150D51 #221686 #2F1FBB #4A38DE
Accessibility & contrast
On white
13.75
#221686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#221686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221686
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221686 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #221686; /* rgb */ color: rgb(34, 22, 134); /* oklch */ color: oklch(31.6% 0.172 275.0);
Tailwind
colors: {
custom: {
50: '#6f57aa',
500: '#221686',
950: '#000000',
},
}SCSS
$custom: #221686; $custom-light: #6f57aa; $custom-dark: #000000;
JSON
{
"hex": "#221686",
"rgb": {
"r": 34,
"g": 22,
"b": 134
},
"hsl": {
"h": 246.429,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.31605,
"c": 0.17189,
"h": 275
},
"luminance": 0.02635
}Semantic roles & 50–950 ramp
primary
#221686
secondary
#ADBA3E
accent
#EF39DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F