#211B7E#211B7E
#211B7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.158 H 274.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #211B7E |
|---|---|
| RGB | rgb(33, 27, 126) |
| HSL | hsl(244, 65%, 30%) |
| HSV | hsv(244, 79%, 49%) |
| CMYK | cmyk(73.8%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(18.42, 36.23, -54.32) |
| CIE-LCH | lch(18.42, 65.29, 303.71°) |
| OKLab | oklab(31.24% 0.0135 -0.1571) |
| OKLCH | oklch(31.24% 0.158 274.9) |
| XYZ | xyz(4.7838, 2.6131, 19.9869) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 3.40
Dark Royal Blue
#02066F
ΔE00 4.91
Navy
#000080
ΔE00 5.09
Darkblue
#00008B
ΔE00 5.13
Deep Blue
#040273
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211B7E #787E1B
analogous
#1B477E #211B7E #521B7E
triadic
#211B7E #7E211B #1B7E21
tetradic
#211B7E #7E1B47 #787E1B #1B7E52
square
#211B7E #7E1B47 #787E1B #1B7E52
split-complementary
#211B7E #7E521B #477E1B
monochromatic
#070519 #14104C #211B7E #2E26B0 #473ED6
Accessibility & contrast
On white
13.79
#211B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#211B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211B7E
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211B7E | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #211b7e; /* rgb */ color: rgb(33, 27, 126); /* oklch */ color: oklch(31.2% 0.158 274.9);
Tailwind
colors: {
custom: {
50: '#6c59a4',
500: '#211b7e',
950: '#000000',
},
}SCSS
$custom: #211b7e; $custom-light: #6c59a4; $custom-dark: #000000;
JSON
{
"hex": "#211b7e",
"rgb": {
"r": 33,
"g": 27,
"b": 126
},
"hsl": {
"h": 243.636,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.31244,
"c": 0.15765,
"h": 274.9
},
"luminance": 0.02614
}Semantic roles & 50–950 ramp
primary
#211B7E
secondary
#ABB243
accent
#E840DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F