#211B9E#211B9E
#211B9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.197 H 271.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #211B9E |
|---|---|
| RGB | rgb(33, 27, 158) |
| HSL | hsl(243, 71%, 36%) |
| HSV | hsv(243, 83%, 62%) |
| CMYK | cmyk(79.1%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(22.21, 46.74, -67.98) |
| CIE-LCH | lch(22.21, 82.50, 304.51°) |
| OKLab | oklab(35% 0.0058 -0.1967) |
| OKLCH | oklch(35% 0.197 271.7) |
| XYZ | xyz(7.1886, 3.5750, 32.6523) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.24
Cobalt Blue
#030AA7
ΔE00 2.78
Royal Blue (survey)
#0504AA
ΔE00 3.30
Indigo Blue
#3A18B1
ΔE00 3.71
Ultramarine
#2000B1
ΔE00 3.74
Darkblue
#00008B
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211B9E #989E1B
analogous
#1B579E #211B9E #631B9E
triadic
#211B9E #9E211B #1B9E21
tetradic
#211B9E #9E1B57 #989E1B #1B9E63
square
#211B9E #9E1B57 #989E1B #1B9E63
split-complementary
#211B9E #9E631B #579E1B
monochromatic
#0B0935 #16126A #211B9E #2C24D2 #5952E1
Accessibility & contrast
On white
12.24
#211B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#211B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211B9E
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211B9E | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #211b9e; /* rgb */ color: rgb(33, 27, 158); /* oklch */ color: oklch(35.0% 0.197 271.7);
Tailwind
colors: {
custom: {
50: '#745bbc',
500: '#211b9e',
950: '#000000',
},
}SCSS
$custom: #211b9e; $custom-light: #745bbc; $custom-dark: #000000;
JSON
{
"hex": "#211b9e",
"rgb": {
"r": 33,
"g": 27,
"b": 158
},
"hsl": {
"h": 242.748,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.34997,
"c": 0.19683,
"h": 271.7
},
"luminance": 0.03576
}Semantic roles & 50–950 ramp
primary
#211B9E
secondary
#BFC451
accent
#EE3AE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981