#221586#221586
#221586 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.173 H 275.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #221586 |
|---|---|
| RGB | rgb(34, 21, 134) |
| HSL | hsl(247, 73%, 30%) |
| HSV | hsv(247, 84%, 53%) |
| CMYK | cmyk(74.6%, 84.3%, 0%, 47.5%) |
| CIE-LAB | lab(18.35, 42.10, -59.49) |
| CIE-LCH | lch(18.35, 72.88, 305.29°) |
| OKLab | oklab(31.49% 0.0154 -0.172) |
| OKLCH | oklch(31.49% 0.173 275.1) |
| XYZ | xyz(5.2295, 2.5971, 22.7753) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.30
Darkblue
#00008B
ΔE00 3.57
Navy
#000080
ΔE00 3.93
Midnight Blue
#191970
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 3.96
Deep Blue
#040273
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221586 #798615
analogous
#154086 #221586 #5B1586
triadic
#221586 #862215 #158622
tetradic
#221586 #861540 #798615 #15865B
square
#221586 #861540 #798615 #15865B
split-complementary
#221586 #865B15 #408615
monochromatic
#07041C #150D51 #221586 #2F1DBB #4936DF
Accessibility & contrast
On white
13.82
#221586 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#221586 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221586
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221586 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221586 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 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: #221586; /* rgb */ color: rgb(34, 21, 134); /* oklch */ color: oklch(31.5% 0.173 275.1);
Tailwind
colors: {
custom: {
50: '#6f57ab',
500: '#221586',
950: '#000000',
},
}SCSS
$custom: #221586; $custom-light: #6f57ab; $custom-dark: #000000;
JSON
{
"hex": "#221586",
"rgb": {
"r": 34,
"g": 21,
"b": 134
},
"hsl": {
"h": 246.903,
"s": 72.903,
"l": 30.392
},
"oklch": {
"l": 0.31491,
"c": 0.17269,
"h": 275.1
},
"luminance": 0.02598
}Semantic roles & 50–950 ramp
primary
#221586
secondary
#ACBA3C
accent
#F038DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F