#221684#221684
#221684 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.169 H 275.3°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #221684 |
|---|---|
| RGB | rgb(34, 22, 132) |
| HSL | hsl(247, 71%, 30%) |
| HSV | hsv(247, 83%, 52%) |
| CMYK | cmyk(74.2%, 83.3%, 0%, 48.2%) |
| CIE-LAB | lab(18.27, 40.98, -58.36) |
| CIE-LCH | lch(18.27, 71.31, 305.08°) |
| OKLab | oklab(31.37% 0.0156 -0.1687) |
| OKLCH | oklch(31.37% 0.169 275.3) |
| XYZ | xyz(5.1101, 2.5793, 22.0539) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.51
Midnight Blue
#191970
ΔE00 3.59
Darkblue
#00008B
ΔE00 3.81
Navy
#000080
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 4.10
Deep Blue
#040273
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221684 #788416
analogous
#164184 #221684 #591684
triadic
#221684 #842216 #168422
tetradic
#221684 #841641 #788416 #168459
square
#221684 #841641 #788416 #168459
split-complementary
#221684 #845916 #418416
monochromatic
#07051B #140D50 #221684 #301FB8 #4937DE
Accessibility & contrast
On white
13.85
#221684 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#221684 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221684
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221684 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221684 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #221684; /* rgb */ color: rgb(34, 22, 132); /* oklch */ color: oklch(31.4% 0.169 275.3);
Tailwind
colors: {
custom: {
50: '#6f57a9',
500: '#221684',
950: '#000000',
},
}SCSS
$custom: #221684; $custom-light: #6f57a9; $custom-dark: #000000;
JSON
{
"hex": "#221684",
"rgb": {
"r": 34,
"g": 22,
"b": 132
},
"hsl": {
"h": 246.545,
"s": 71.429,
"l": 30.196
},
"oklch": {
"l": 0.31366,
"c": 0.16946,
"h": 275.3
},
"luminance": 0.0258
}Semantic roles & 50–950 ramp
primary
#221684
secondary
#ABB83D
accent
#EE3ADA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F