#211E7B#211E7B
#211E7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.151 H 274.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #211E7B |
|---|---|
| RGB | rgb(33, 30, 123) |
| HSL | hsl(242, 61%, 30%) |
| HSV | hsv(242, 76%, 48%) |
| CMYK | cmyk(73.2%, 75.6%, 0%, 51.8%) |
| CIE-LAB | lab(18.72, 33.41, -51.91) |
| CIE-LCH | lch(18.72, 61.74, 302.77°) |
| OKLab | oklab(31.36% 0.0125 -0.1501) |
| OKLCH | oklch(31.36% 0.151 274.8) |
| XYZ | xyz(4.6654, 2.6815, 19.0068) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.07
Royal
#0C1793
ΔE00 4.14
Dark Royal Blue
#02066F
ΔE00 5.44
Deep Blue
#040273
ΔE00 5.86
Navy
#000080
ΔE00 5.94
Darkblue (survey)
#030764
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211E7B #787B1E
analogous
#1E4A7B #211E7B #4F1E7B
triadic
#211E7B #7B211E #1E7B21
tetradic
#211E7B #7B1E4A #787B1E #1E7B4F
square
#211E7B #7B1E4A #787B1E #1E7B4F
split-complementary
#211E7B #7B4F1E #4A7B1E
monochromatic
#070619 #14124A #211E7B #2E2AAC #4742D1
Accessibility & contrast
On white
13.67
#211E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#211E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211E7B
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211E7B | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211e7b; /* rgb */ color: rgb(33, 30, 123); /* oklch */ color: oklch(31.4% 0.151 274.8);
Tailwind
colors: {
custom: {
50: '#6b5ba2',
500: '#211e7b',
950: '#000000',
},
}SCSS
$custom: #211e7b; $custom-light: #6b5ba2; $custom-dark: #000000;
JSON
{
"hex": "#211e7b",
"rgb": {
"r": 33,
"g": 30,
"b": 123
},
"hsl": {
"h": 241.935,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.31356,
"c": 0.15062,
"h": 274.8
},
"luminance": 0.02682
}Semantic roles & 50–950 ramp
primary
#211E7B
secondary
#ABAE46
accent
#E444DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F