#211E7E#211E7E
#211E7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.155 H 274.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #211E7E |
|---|---|
| RGB | rgb(33, 30, 126) |
| HSL | hsl(242, 62%, 31%) |
| HSV | hsv(242, 76%, 49%) |
| CMYK | cmyk(73.8%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.05, 34.47, -53.29) |
| CIE-LCH | lch(19.05, 63.46, 302.90°) |
| OKLab | oklab(31.69% 0.0119 -0.1541) |
| OKLCH | oklch(31.69% 0.155 274.4) |
| XYZ | xyz(4.8561, 2.7578, 20.0110) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.45
Royal
#0C1793
ΔE00 3.70
Dark Royal Blue
#02066F
ΔE00 5.52
Navy
#000080
ΔE00 5.80
Darkblue
#00008B
ΔE00 5.81
Deep Blue
#040273
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211E7E #7B7E1E
analogous
#1E4B7E #211E7E #511E7E
triadic
#211E7E #7E211E #1E7E21
tetradic
#211E7E #7E1E4B #7B7E1E #1E7E51
square
#211E7E #7E1E4B #7B7E1E #1E7E51
split-complementary
#211E7E #7E511E #4B7E1E
monochromatic
#07061B #14124D #211E7E #2E2AAF #4844D2
Accessibility & contrast
On white
13.53
#211E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#211E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211E7E
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211E7E | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211e7e; /* rgb */ color: rgb(33, 30, 126); /* oklch */ color: oklch(31.7% 0.155 274.4);
Tailwind
colors: {
custom: {
50: '#6c5ba4',
500: '#211e7e',
950: '#000000',
},
}SCSS
$custom: #211e7e; $custom-light: #6c5ba4; $custom-dark: #000000;
JSON
{
"hex": "#211e7e",
"rgb": {
"r": 33,
"g": 30,
"b": 126
},
"hsl": {
"h": 241.875,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.31685,
"c": 0.15456,
"h": 274.4
},
"luminance": 0.02758
}Semantic roles & 50–950 ramp
primary
#211E7E
secondary
#AEB147
accent
#E543E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F