#211579#211579
#211579 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.157 H 276.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #211579 |
|---|---|
| RGB | rgb(33, 21, 121) |
| HSL | hsl(247, 70%, 28%) |
| HSV | hsv(247, 83%, 47%) |
| CMYK | cmyk(72.7%, 82.6%, 0%, 52.5%) |
| CIE-LAB | lab(16.70, 37.85, -53.97) |
| CIE-LCH | lch(16.70, 65.92, 305.04°) |
| OKLab | oklab(29.87% 0.0177 -0.156) |
| OKLCH | oklch(29.87% 0.157 276.5) |
| XYZ | xyz(4.3454, 2.2397, 18.2888) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.26
Dark Royal Blue
#02066F
ΔE00 3.67
Deep Blue
#040273
ΔE00 3.91
Royal
#0C1793
ΔE00 4.00
Navy
#000080
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211579 #6D7915
analogous
#153B79 #211579 #531579
triadic
#211579 #792115 #157921
tetradic
#211579 #79153B #6D7915 #157953
square
#211579 #79153B #6D7915 #157953
split-complementary
#211579 #795315 #3B7915
monochromatic
#07051A #130C45 #211579 #2F1EAD #422EDB
Accessibility & contrast
On white
14.50
#211579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#211579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211579
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211579 | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 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: #211579; /* rgb */ color: rgb(33, 21, 121); /* oklch */ color: oklch(29.9% 0.157 276.5);
Tailwind
colors: {
custom: {
50: '#6c55a1',
500: '#211579',
950: '#000000',
},
}SCSS
$custom: #211579; $custom-light: #6c55a1; $custom-dark: #000000;
JSON
{
"hex": "#211579",
"rgb": {
"r": 33,
"g": 21,
"b": 121
},
"hsl": {
"h": 247.2,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.29865,
"c": 0.15701,
"h": 276.5
},
"luminance": 0.0224
}Semantic roles & 50–950 ramp
primary
#211579
secondary
#A1AF3B
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F