#221688#221688
#221688 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.174 H 274.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #221688 |
|---|---|
| RGB | rgb(34, 22, 136) |
| HSL | hsl(246, 72%, 31%) |
| HSV | hsv(246, 84%, 53%) |
| CMYK | cmyk(75%, 83.8%, 0%, 46.7%) |
| CIE-LAB | lab(18.76, 42.25, -60.08) |
| CIE-LCH | lch(18.76, 73.45, 305.12°) |
| OKLab | oklab(31.85% 0.0145 -0.1737) |
| OKLCH | oklch(31.85% 0.174 274.8) |
| XYZ | xyz(5.3891, 2.6909, 23.5232) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.04
Darkblue
#00008B
ΔE00 3.69
Midnight Blue
#191970
ΔE00 4.13
Indigo (survey)
#380282
ΔE00 4.13
Navy
#000080
ΔE00 4.16
Cobalt Blue
#030AA7
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221688 #7C8816
analogous
#164388 #221688 #5B1688
triadic
#221688 #882216 #168822
tetradic
#221688 #881643 #7C8816 #16885B
square
#221688 #881643 #7C8816 #16885B
split-complementary
#221688 #885B16 #438816
monochromatic
#08051F #150D53 #221688 #2F1FBD #4B39DF
Accessibility & contrast
On white
13.65
#221688 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#221688 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221688
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221688 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221688 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002886
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #221688; /* rgb */ color: rgb(34, 22, 136); /* oklch */ color: oklch(31.8% 0.174 274.8);
Tailwind
colors: {
custom: {
50: '#7057ac',
500: '#221688',
950: '#000000',
},
}SCSS
$custom: #221688; $custom-light: #7057ac; $custom-dark: #000000;
JSON
{
"hex": "#221688",
"rgb": {
"r": 34,
"g": 22,
"b": 136
},
"hsl": {
"h": 246.316,
"s": 72.152,
"l": 30.98
},
"oklch": {
"l": 0.31845,
"c": 0.17431,
"h": 274.8
},
"luminance": 0.02691
}Semantic roles & 50–950 ramp
primary
#221688
secondary
#AFBC3E
accent
#EF39DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F