#221777#221777
#221777 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.152 H 277.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #221777 |
|---|---|
| RGB | rgb(34, 23, 119) |
| HSL | hsl(247, 68%, 28%) |
| HSV | hsv(247, 81%, 47%) |
| CMYK | cmyk(71.4%, 80.7%, 0%, 53.3%) |
| CIE-LAB | lab(16.91, 36.22, -52.33) |
| CIE-LCH | lch(16.91, 63.64, 304.69°) |
| OKLab | oklab(29.97% 0.0188 -0.1512) |
| OKLCH | oklch(29.97% 0.152 277.1) |
| XYZ | xyz(4.2948, 2.2844, 17.6638) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.82
Dark Royal Blue
#02066F
ΔE00 3.97
Deep Blue
#040273
ΔE00 4.32
Royal
#0C1793
ΔE00 4.34
Navy
#000080
ΔE00 4.62
Darkblue (survey)
#030764
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221777 #6C7717
analogous
#173C77 #221777 #521777
triadic
#221777 #772217 #177722
tetradic
#221777 #77173C #6C7717 #177752
square
#221777 #77173C #6C7717 #177752
split-complementary
#221777 #775217 #3C7717
monochromatic
#07051A #130D44 #221777 #3121AA #4431D7
Accessibility & contrast
On white
14.41
#221777 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#221777 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221777
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221777 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221777 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002675
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #221777; /* rgb */ color: rgb(34, 23, 119); /* oklch */ color: oklch(30.0% 0.152 277.1);
Tailwind
colors: {
custom: {
50: '#6b579f',
500: '#221777',
950: '#000000',
},
}SCSS
$custom: #221777; $custom-light: #6b579f; $custom-dark: #000000;
JSON
{
"hex": "#221777",
"rgb": {
"r": 34,
"g": 23,
"b": 119
},
"hsl": {
"h": 246.875,
"s": 67.606,
"l": 27.843
},
"oklch": {
"l": 0.29968,
"c": 0.15238,
"h": 277.1
},
"luminance": 0.02285
}Semantic roles & 50–950 ramp
primary
#221777
secondary
#A0AC3E
accent
#EA3DD7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E