#221579#221579
#221579 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.157 H 277.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #221579 |
|---|---|
| RGB | rgb(34, 21, 121) |
| HSL | hsl(248, 70%, 28%) |
| HSV | hsv(248, 83%, 47%) |
| CMYK | cmyk(71.9%, 82.6%, 0%, 52.5%) |
| CIE-LAB | lab(16.78, 37.94, -53.84) |
| CIE-LCH | lch(16.78, 65.86, 305.17°) |
| OKLab | oklab(29.94% 0.0192 -0.1556) |
| OKLCH | oklch(29.94% 0.157 277) |
| XYZ | xyz(4.3779, 2.2565, 18.2903) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.32
Dark Royal Blue
#02066F
ΔE00 3.73
Deep Blue
#040273
ΔE00 3.96
Royal
#0C1793
ΔE00 4.04
Navy
#000080
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221579 #6C7915
analogous
#153A79 #221579 #541579
triadic
#221579 #792215 #157922
tetradic
#221579 #79153A #6C7915 #157954
square
#221579 #79153A #6C7915 #157954
split-complementary
#221579 #795415 #3A7915
monochromatic
#07051A #130C45 #221579 #311EAD #442EDB
Accessibility & contrast
On white
14.47
#221579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#221579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221579
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221579 | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #221579; /* rgb */ color: rgb(34, 21, 121); /* oklch */ color: oklch(29.9% 0.157 277.0);
Tailwind
colors: {
custom: {
50: '#6c56a1',
500: '#221579',
950: '#000000',
},
}SCSS
$custom: #221579; $custom-light: #6c56a1; $custom-dark: #000000;
JSON
{
"hex": "#221579",
"rgb": {
"r": 34,
"g": 21,
"b": 121
},
"hsl": {
"h": 247.8,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.29943,
"c": 0.15676,
"h": 277
},
"luminance": 0.02257
}Semantic roles & 50–950 ramp
primary
#221579
secondary
#A0AF3B
accent
#ED3BD6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F