#211B8F#211B8F
#211B8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.179 H 273.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #211B8F |
|---|---|
| RGB | rgb(33, 27, 143) |
| HSL | hsl(243, 68%, 33%) |
| HSV | hsv(243, 81%, 56%) |
| CMYK | cmyk(76.9%, 81.1%, 0%, 43.9%) |
| CIE-LAB | lab(20.40, 41.92, -61.74) |
| CIE-LCH | lch(20.40, 74.62, 304.18°) |
| OKLab | oklab(33.21% 0.0095 -0.1786) |
| OKLCH | oklch(33.21% 0.179 273) |
| XYZ | xyz(5.9754, 3.0897, 26.2627) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.52
Cobalt Blue
#030AA7
ΔE00 4.02
Darkblue
#00008B
ΔE00 4.58
Royal Blue (survey)
#0504AA
ΔE00 4.58
Midnight Blue
#191970
ΔE00 4.88
Indigo (survey)
#380282
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211B8F #898F1B
analogous
#1B4F8F #211B8F #5B1B8F
triadic
#211B8F #8F211B #1B8F21
tetradic
#211B8F #8F1B4F #898F1B #1B8F5B
square
#211B8F #8F1B4F #898F1B #1B8F5B
split-complementary
#211B8F #8F5B1B #4F8F1B
monochromatic
#090828 #15115C #211B8F #2D25C2 #5048DC
Accessibility & contrast
On white
12.98
#211B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#211B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211B8F
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211B8F | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #211b8f; /* rgb */ color: rgb(33, 27, 143); /* oklch */ color: oklch(33.2% 0.179 273.0);
Tailwind
colors: {
custom: {
50: '#715ab1',
500: '#211b8f',
950: '#000000',
},
}SCSS
$custom: #211b8f; $custom-light: #715ab1; $custom-dark: #000000;
JSON
{
"hex": "#211b8f",
"rgb": {
"r": 33,
"g": 27,
"b": 143
},
"hsl": {
"h": 243.103,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.33211,
"c": 0.17889,
"h": 273
},
"luminance": 0.0309
}Semantic roles & 50–950 ramp
primary
#211B8F
secondary
#B8BE48
accent
#EB3DE2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980