#211F96#211F96
#211F96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.184 H 272.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #211F96 |
|---|---|
| RGB | rgb(33, 31, 150) |
| HSL | hsl(241, 66%, 35%) |
| HSV | hsv(241, 79%, 59%) |
| CMYK | cmyk(78%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(21.96, 42.10, -63.49) |
| CIE-LCH | lch(21.96, 76.18, 303.55°) |
| OKLab | oklab(34.54% 0.0064 -0.1838) |
| OKLCH | oklch(34.54% 0.184 272) |
| XYZ | xyz(6.6204, 3.5046, 29.1758) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.05
Cobalt Blue
#030AA7
ΔE00 3.96
Royal Blue (survey)
#0504AA
ΔE00 4.54
Indigo Blue
#3A18B1
ΔE00 4.81
Ultramarine
#2000B1
ΔE00 5.12
Darkblue
#00008B
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F96 #94961F
analogous
#1F5996 #211F96 #5C1F96
triadic
#211F96 #96211F #1F9621
tetradic
#211F96 #961F59 #94961F #1F965C
square
#211F96 #961F59 #94961F #1F965C
split-complementary
#211F96 #965C1F #59961F
monochromatic
#0B0A31 #161563 #211F96 #2C29C9 #5654DC
Accessibility & contrast
On white
12.35
#211F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#211F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F96
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F96 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #211f96; /* rgb */ color: rgb(33, 31, 150); /* oklch */ color: oklch(34.5% 0.184 272.0);
Tailwind
colors: {
custom: {
50: '#725db6',
500: '#211f96',
950: '#000000',
},
}SCSS
$custom: #211f96; $custom-light: #725db6; $custom-dark: #000000;
JSON
{
"hex": "#211f96",
"rgb": {
"r": 33,
"g": 31,
"b": 150
},
"hsl": {
"h": 241.008,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.34543,
"c": 0.18388,
"h": 272
},
"luminance": 0.03505
}Semantic roles & 50–950 ramp
primary
#211F96
secondary
#BDBF52
accent
#E93FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980