#221479#221479
#221479 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.158 H 277.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #221479 |
|---|---|
| RGB | rgb(34, 20, 121) |
| HSL | hsl(248, 72%, 28%) |
| HSV | hsv(248, 83%, 47%) |
| CMYK | cmyk(71.9%, 83.5%, 0%, 52.5%) |
| CIE-LAB | lab(16.60, 38.45, -54.13) |
| CIE-LCH | lch(16.60, 66.39, 305.39°) |
| OKLab | oklab(29.82% 0.0197 -0.1564) |
| OKLCH | oklch(29.82% 0.158 277.2) |
| XYZ | xyz(4.3599, 2.2205, 18.2843) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Dark Royal Blue
#02066F
ΔE00 3.59
Deep Blue
#040273
ΔE00 3.79
Navy
#000080
ΔE00 3.94
Royal
#0C1793
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221479 #6B7914
analogous
#143879 #221479 #551479
triadic
#221479 #792214 #147922
tetradic
#221479 #791438 #6B7914 #147955
square
#221479 #791438 #6B7914 #147955
split-complementary
#221479 #795514 #387914
monochromatic
#07041A #130B44 #221479 #311DAE #442BDC
Accessibility & contrast
On white
14.54
#221479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#221479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221479
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221479 | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #221479; /* rgb */ color: rgb(34, 20, 121); /* oklch */ color: oklch(29.8% 0.158 277.2);
Tailwind
colors: {
custom: {
50: '#6c55a1',
500: '#221479',
950: '#000000',
},
}SCSS
$custom: #221479; $custom-light: #6c55a1; $custom-dark: #000000;
JSON
{
"hex": "#221479",
"rgb": {
"r": 34,
"g": 20,
"b": 121
},
"hsl": {
"h": 248.317,
"s": 71.631,
"l": 27.647
},
"oklch": {
"l": 0.29821,
"c": 0.15765,
"h": 277.2
},
"luminance": 0.02221
}Semantic roles & 50–950 ramp
primary
#221479
secondary
#9FAF3A
accent
#EE39D5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F