#211F9F#211F9F
#211F9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.195 H 271.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #211F9F |
|---|---|
| RGB | rgb(33, 31, 159) |
| HSL | hsl(241, 67%, 37%) |
| HSV | hsv(241, 81%, 62%) |
| CMYK | cmyk(79.2%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(23.02, 45.06, -67.26) |
| CIE-LCH | lch(23.02, 80.96, 303.82°) |
| OKLab | oklab(35.59% 0.0045 -0.1947) |
| OKLCH | oklch(35.59% 0.195 271.3) |
| XYZ | xyz(7.3731, 3.8057, 33.1402) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.68
Cobalt Blue
#030AA7
ΔE00 3.44
Indigo Blue
#3A18B1
ΔE00 3.78
Royal Blue (survey)
#0504AA
ΔE00 3.97
Ultramarine
#2000B1
ΔE00 4.31
True Blue
#010FCC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F9F #9D9F1F
analogous
#1F5D9F #211F9F #611F9F
triadic
#211F9F #9F211F #1F9F21
tetradic
#211F9F #9F1F5D #9D9F1F #1F9F61
square
#211F9F #9F1F5D #9D9F1F #1F9F61
split-complementary
#211F9F #9F611F #5D9F1F
monochromatic
#0C0B39 #16156C #211F9F #2C29D2 #5C5ADF
Accessibility & contrast
On white
11.92
#211F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#211F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F9F
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F9F | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #211f9f; /* rgb */ color: rgb(33, 31, 159); /* oklch */ color: oklch(35.6% 0.195 271.3);
Tailwind
colors: {
custom: {
50: '#745ebd',
500: '#211f9f',
950: '#000000',
},
}SCSS
$custom: #211f9f; $custom-light: #745ebd; $custom-dark: #000000;
JSON
{
"hex": "#211f9f",
"rgb": {
"r": 33,
"g": 31,
"b": 159
},
"hsl": {
"h": 240.938,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.35591,
"c": 0.19476,
"h": 271.3
},
"luminance": 0.03807
}Semantic roles & 50–950 ramp
primary
#211F9F
secondary
#C1C357
accent
#EA3EE8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981