#211F8F#211F8F
#211F8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.175 H 272.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #211F8F |
|---|---|
| RGB | rgb(33, 31, 143) |
| HSL | hsl(241, 64%, 34%) |
| HSV | hsv(241, 78%, 56%) |
| CMYK | cmyk(76.9%, 78.3%, 0%, 43.9%) |
| CIE-LAB | lab(21.15, 39.75, -60.49) |
| CIE-LCH | lch(21.15, 72.38, 303.31°) |
| OKLab | oklab(33.74% 0.0079 -0.1751) |
| OKLCH | oklch(33.74% 0.175 272.6) |
| XYZ | xyz(6.0734, 3.2858, 26.2954) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.07
Cobalt Blue
#030AA7
ΔE00 4.61
Midnight Blue
#191970
ΔE00 4.89
Royal Blue (survey)
#0504AA
ΔE00 5.20
Darkblue
#00008B
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F8F #8D8F1F
analogous
#1F558F #211F8F #591F8F
triadic
#211F8F #8F211F #1F8F21
tetradic
#211F8F #8F1F55 #8D8F1F #1F8F59
square
#211F8F #8F1F55 #8D8F1F #1F8F59
split-complementary
#211F8F #8F591F #558F1F
monochromatic
#0A092A #15145D #211F8F #2D2AC1 #524FD9
Accessibility & contrast
On white
12.67
#211F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#211F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F8F
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F8F | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #211f8f; /* rgb */ color: rgb(33, 31, 143); /* oklch */ color: oklch(33.7% 0.175 272.6);
Tailwind
colors: {
custom: {
50: '#705db1',
500: '#211f8f',
950: '#000000',
},
}SCSS
$custom: #211f8f; $custom-light: #705db1; $custom-dark: #000000;
JSON
{
"hex": "#211f8f",
"rgb": {
"r": 33,
"g": 31,
"b": 143
},
"hsl": {
"h": 241.071,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.33739,
"c": 0.17524,
"h": 272.6
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#211F8F
secondary
#BABC4E
accent
#E740E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980