#221379#221379
#221379 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.159 H 277.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #221379 |
|---|---|
| RGB | rgb(34, 19, 121) |
| HSL | hsl(249, 73%, 27%) |
| HSV | hsv(249, 84%, 47%) |
| CMYK | cmyk(71.9%, 84.3%, 0%, 52.5%) |
| CIE-LAB | lab(16.43, 38.95, -54.41) |
| CIE-LCH | lch(16.43, 66.91, 305.60°) |
| OKLab | oklab(29.7% 0.0202 -0.1572) |
| OKLCH | oklch(29.7% 0.159 277.3) |
| XYZ | xyz(4.3426, 2.1859, 18.2785) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.62
Dark Royal Blue
#02066F
ΔE00 3.47
Deep Blue
#040273
ΔE00 3.63
Navy
#000080
ΔE00 3.78
Indigo (survey)
#380282
ΔE00 4.03
Royal
#0C1793
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221379 #6A7913
analogous
#133779 #221379 #551379
triadic
#221379 #792213 #137922
tetradic
#221379 #791337 #6A7913 #137955
square
#221379 #791337 #6A7913 #137955
split-complementary
#221379 #795513 #377913
monochromatic
#07041A #130B44 #221379 #311BAE #4429DD
Accessibility & contrast
On white
14.61
#221379 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#221379 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221379
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221379 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221379 | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #221379; /* rgb */ color: rgb(34, 19, 121); /* oklch */ color: oklch(29.7% 0.159 277.3);
Tailwind
colors: {
custom: {
50: '#6c54a1',
500: '#221379',
950: '#000000',
},
}SCSS
$custom: #221379; $custom-light: #6c54a1; $custom-dark: #000000;
JSON
{
"hex": "#221379",
"rgb": {
"r": 34,
"g": 19,
"b": 121
},
"hsl": {
"h": 248.824,
"s": 72.857,
"l": 27.451
},
"oklch": {
"l": 0.29703,
"c": 0.1585,
"h": 277.3
},
"luminance": 0.02186
}Semantic roles & 50–950 ramp
primary
#221379
secondary
#9EAF39
accent
#F038D5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F