#211F6F#211F6F
#211F6F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.133 H 276.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #211F6F |
|---|---|
| RGB | rgb(33, 31, 111) |
| HSL | hsl(242, 56%, 28%) |
| HSV | hsv(242, 72%, 44%) |
| CMYK | cmyk(70.3%, 72.1%, 0%, 56.5%) |
| CIE-LAB | lab(17.69, 28.47, -45.88) |
| CIE-LCH | lch(17.69, 54.00, 301.82°) |
| OKLab | oklab(30.24% 0.0139 -0.1325) |
| OKLCH | oklch(30.24% 0.133 276) |
| XYZ | xyz(3.9855, 2.4507, 15.2988) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.79
Darkblue (survey)
#030764
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 5.91
Royal
#0C1793
ΔE00 6.21
Dark Indigo
#1F0954
ΔE00 6.53
Deep Blue
#040273
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F6F #6D6F1F
analogous
#1F456F #211F6F #491F6F
triadic
#211F6F #6F211F #1F6F21
tetradic
#211F6F #6F1F45 #6D6F1F #1F6F49
square
#211F6F #6F1F45 #6D6F1F #1F6F49
split-complementary
#211F6F #6F491F #456F1F
monochromatic
#070718 #13123F #211F6F #2F2C9F #423FC9
Accessibility & contrast
On white
14.09
#211F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#211F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F6F
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F6F | 1.00 | 14.09 | 1.49 | 14.09 |
| #FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #211f6f; /* rgb */ color: rgb(33, 31, 111); /* oklch */ color: oklch(30.2% 0.133 276.0);
Tailwind
colors: {
custom: {
50: '#685b99',
500: '#211f6f',
950: '#000000',
},
}SCSS
$custom: #211f6f; $custom-light: #685b99; $custom-dark: #000000;
JSON
{
"hex": "#211f6f",
"rgb": {
"r": 33,
"g": 31,
"b": 111
},
"hsl": {
"h": 241.5,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.30242,
"c": 0.13322,
"h": 276
},
"luminance": 0.02451
}Semantic roles & 50–950 ramp
primary
#211F6F
secondary
#A1A347
accent
#E048DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E