#211777#211777
#211777 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.153 H 276.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #211777 |
|---|---|
| RGB | rgb(33, 23, 119) |
| HSL | hsl(246, 68%, 28%) |
| HSV | hsv(246, 81%, 47%) |
| CMYK | cmyk(72.3%, 80.7%, 0%, 53.3%) |
| CIE-LAB | lab(16.83, 36.12, -52.47) |
| CIE-LCH | lch(16.83, 63.70, 304.54°) |
| OKLab | oklab(29.89% 0.0173 -0.1516) |
| OKLCH | oklch(29.89% 0.153 276.5) |
| XYZ | xyz(4.2623, 2.2676, 17.6623) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.74
Dark Royal Blue
#02066F
ΔE00 3.92
Deep Blue
#040273
ΔE00 4.28
Royal
#0C1793
ΔE00 4.30
Navy
#000080
ΔE00 4.59
Darkblue (survey)
#030764
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211777 #6D7717
analogous
#173D77 #211777 #511777
triadic
#211777 #772117 #177721
tetradic
#211777 #77173D #6D7717 #177751
square
#211777 #77173D #6D7717 #177751
split-complementary
#211777 #775117 #3D7717
monochromatic
#07051A #130D44 #211777 #2F21AA #4231D7
Accessibility & contrast
On white
14.45
#211777 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#211777 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211777
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211777 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211777 | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #211777; /* rgb */ color: rgb(33, 23, 119); /* oklch */ color: oklch(29.9% 0.153 276.5);
Tailwind
colors: {
custom: {
50: '#6b569f',
500: '#211777',
950: '#000000',
},
}SCSS
$custom: #211777; $custom-light: #6b569f; $custom-dark: #000000;
JSON
{
"hex": "#211777",
"rgb": {
"r": 33,
"g": 23,
"b": 119
},
"hsl": {
"h": 246.25,
"s": 67.606,
"l": 27.843
},
"oklch": {
"l": 0.29891,
"c": 0.15263,
"h": 276.5
},
"luminance": 0.02268
}Semantic roles & 50–950 ramp
primary
#211777
secondary
#A1AC3E
accent
#EA3DD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E