#211F9E#211F9E
#211F9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.194 H 271.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #211F9E |
|---|---|
| RGB | rgb(33, 31, 158) |
| HSL | hsl(241, 67%, 37%) |
| HSV | hsv(241, 80%, 62%) |
| CMYK | cmyk(79.1%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(22.90, 44.73, -66.85) |
| CIE-LCH | lch(22.90, 80.43, 303.79°) |
| OKLab | oklab(35.47% 0.0047 -0.1935) |
| OKLCH | oklch(35.47% 0.194 271.4) |
| XYZ | xyz(7.2867, 3.7711, 32.6850) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.59
Cobalt Blue
#030AA7
ΔE00 3.48
Indigo Blue
#3A18B1
ΔE00 3.89
Royal Blue (survey)
#0504AA
ΔE00 4.01
Ultramarine
#2000B1
ΔE00 4.39
True Blue
#010FCC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F9E #9C9E1F
analogous
#1F5D9E #211F9E #611F9E
triadic
#211F9E #9E211F #1F9E21
tetradic
#211F9E #9E1F5D #9C9E1F #1F9E61
square
#211F9E #9E1F5D #9C9E1F #1F9E61
split-complementary
#211F9E #9E611F #5D9E1F
monochromatic
#0C0B38 #16156B #211F9E #2C29D1 #5B59DE
Accessibility & contrast
On white
11.97
#211F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#211F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F9E
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F9E | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #211f9e; /* rgb */ color: rgb(33, 31, 158); /* oklch */ color: oklch(35.5% 0.194 271.4);
Tailwind
colors: {
custom: {
50: '#745ebc',
500: '#211f9e',
950: '#000000',
},
}SCSS
$custom: #211f9e; $custom-light: #745ebc; $custom-dark: #000000;
JSON
{
"hex": "#211f9e",
"rgb": {
"r": 33,
"g": 31,
"b": 158
},
"hsl": {
"h": 240.945,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.35474,
"c": 0.19357,
"h": 271.4
},
"luminance": 0.03772
}Semantic roles & 50–950 ramp
primary
#211F9E
secondary
#C1C256
accent
#EA3EE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981