#221886#221886
#221886 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.170 H 274.8°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #221886 |
|---|---|
| RGB | rgb(34, 24, 134) |
| HSL | hsl(245, 70%, 31%) |
| HSV | hsv(245, 82%, 53%) |
| CMYK | cmyk(74.6%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.86, 40.62, -58.65) |
| CIE-LCH | lch(18.86, 71.34, 304.70°) |
| OKLab | oklab(31.84% 0.0142 -0.1696) |
| OKLCH | oklch(31.84% 0.17 274.8) |
| XYZ | xyz(5.2880, 2.7141, 22.7948) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.25
Midnight Blue
#191970
ΔE00 3.73
Darkblue
#00008B
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 4.43
Navy
#000080
ΔE00 4.45
Cobalt Blue
#030AA7
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221886 #7C8618
analogous
#184586 #221886 #591886
triadic
#221886 #862218 #188622
tetradic
#221886 #861845 #7C8618 #188659
square
#221886 #861845 #7C8618 #188659
split-complementary
#221886 #865918 #458618
monochromatic
#08051E #150F52 #221886 #2F21BA #4B3CDC
Accessibility & contrast
On white
13.61
#221886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#221886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221886
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221886 | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #221886; /* rgb */ color: rgb(34, 24, 134); /* oklch */ color: oklch(31.8% 0.170 274.8);
Tailwind
colors: {
custom: {
50: '#6f58aa',
500: '#221886',
950: '#000000',
},
}SCSS
$custom: #221886; $custom-light: #6f58aa; $custom-dark: #000000;
JSON
{
"hex": "#221886",
"rgb": {
"r": 34,
"g": 24,
"b": 134
},
"hsl": {
"h": 245.455,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.31843,
"c": 0.17021,
"h": 274.8
},
"luminance": 0.02715
}Semantic roles & 50–950 ramp
primary
#221886
secondary
#AFBA40
accent
#EC3BDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F