#211872#211872
#211872 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.145 H 277.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #211872 |
|---|---|
| RGB | rgb(33, 24, 114) |
| HSL | hsl(246, 65%, 27%) |
| HSV | hsv(246, 79%, 45%) |
| CMYK | cmyk(71.1%, 78.9%, 0%, 55.3%) |
| CIE-LAB | lab(16.46, 33.86, -49.86) |
| CIE-LCH | lch(16.46, 60.27, 304.18°) |
| OKLab | oklab(29.46% 0.018 -0.1441) |
| OKLCH | oklch(29.46% 0.145 277.1) |
| XYZ | xyz(3.9901, 2.1912, 16.1290) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.15
Dark Royal Blue
#02066F
ΔE00 4.09
Darkblue (survey)
#030764
ΔE00 4.41
Deep Blue
#040273
ΔE00 4.62
Royal
#0C1793
ΔE00 5.13
Navy
#000080
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211872 #697218
analogous
#183C72 #211872 #4E1872
triadic
#211872 #722118 #187221
tetradic
#211872 #72183C #697218 #18724E
square
#211872 #72183C #697218 #18724E
split-complementary
#211872 #724E18 #3C7218
monochromatic
#070519 #120D3F #211872 #3023A5 #4131D4
Accessibility & contrast
On white
14.60
#211872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#211872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211872
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211872 | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #211872; /* rgb */ color: rgb(33, 24, 114); /* oklch */ color: oklch(29.5% 0.145 277.1);
Tailwind
colors: {
custom: {
50: '#6a579c',
500: '#211872',
950: '#000000',
},
}SCSS
$custom: #211872; $custom-light: #6a579c; $custom-dark: #000000;
JSON
{
"hex": "#211872",
"rgb": {
"r": 33,
"g": 24,
"b": 114
},
"hsl": {
"h": 246,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.29459,
"c": 0.14518,
"h": 277.1
},
"luminance": 0.02192
}Semantic roles & 50–950 ramp
primary
#211872
secondary
#9DA73E
accent
#E840D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E