#211F99#211F99
#211F99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.188 H 271.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #211F99 |
|---|---|
| RGB | rgb(33, 31, 153) |
| HSL | hsl(241, 66%, 36%) |
| HSV | hsv(241, 80%, 60%) |
| CMYK | cmyk(78.4%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(22.31, 43.09, -64.76) |
| CIE-LCH | lch(22.31, 77.78, 303.64°) |
| OKLab | oklab(34.89% 0.0058 -0.1874) |
| OKLCH | oklch(34.89% 0.188 271.8) |
| XYZ | xyz(6.8650, 3.6025, 30.4644) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.20
Cobalt Blue
#030AA7
ΔE00 3.74
Royal Blue (survey)
#0504AA
ΔE00 4.31
Indigo Blue
#3A18B1
ΔE00 4.45
Ultramarine
#2000B1
ΔE00 4.82
Darkblue
#00008B
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F99 #97991F
analogous
#1F5A99 #211F99 #5E1F99
triadic
#211F99 #99211F #1F9921
tetradic
#211F99 #991F5A #97991F #1F995E
square
#211F99 #991F5A #97991F #1F995E
split-complementary
#211F99 #995E1F #5A991F
monochromatic
#0B0A33 #161566 #211F99 #2C29CC #5856DD
Accessibility & contrast
On white
12.21
#211F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#211F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F99
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F99 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #211f99; /* rgb */ color: rgb(33, 31, 153); /* oklch */ color: oklch(34.9% 0.188 271.8);
Tailwind
colors: {
custom: {
50: '#735db8',
500: '#211f99',
950: '#000000',
},
}SCSS
$custom: #211f99; $custom-light: #735db8; $custom-dark: #000000;
JSON
{
"hex": "#211f99",
"rgb": {
"r": 33,
"g": 31,
"b": 153
},
"hsl": {
"h": 240.984,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.34891,
"c": 0.18754,
"h": 271.8
},
"luminance": 0.03603
}Semantic roles & 50–950 ramp
primary
#211F99
secondary
#BEC054
accent
#E93FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981