#211F78#211F78
#211F78 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.146 H 274.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #211F78 |
|---|---|
| RGB | rgb(33, 31, 120) |
| HSL | hsl(241, 59%, 30%) |
| HSV | hsv(241, 74%, 47%) |
| CMYK | cmyk(72.5%, 74.2%, 0%, 52.9%) |
| CIE-LAB | lab(18.62, 31.73, -50.16) |
| CIE-LCH | lch(18.62, 59.35, 302.32°) |
| OKLab | oklab(31.19% 0.0124 -0.145) |
| OKLCH | oklch(31.19% 0.146 274.9) |
| XYZ | xyz(4.5062, 2.6589, 18.0414) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.88
Royal
#0C1793
ΔE00 4.73
Dark Royal Blue
#02066F
ΔE00 5.65
Darkblue (survey)
#030764
ΔE00 6.07
Deep Blue
#040273
ΔE00 6.15
Navy
#000080
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F78 #76781F
analogous
#1F4A78 #211F78 #4D1F78
triadic
#211F78 #78211F #1F7821
tetradic
#211F78 #781F4A #76781F #1F784D
square
#211F78 #781F4A #76781F #1F784D
split-complementary
#211F78 #784D1F #4A781F
monochromatic
#070618 #141247 #211F78 #2E2CA9 #4643CE
Accessibility & contrast
On white
13.71
#211F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#211F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F78
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F78 | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #211f78; /* rgb */ color: rgb(33, 31, 120); /* oklch */ color: oklch(31.2% 0.146 274.9);
Tailwind
colors: {
custom: {
50: '#6a5ba0',
500: '#211f78',
950: '#000000',
},
}SCSS
$custom: #211f78; $custom-light: #6a5ba0; $custom-dark: #000000;
JSON
{
"hex": "#211f78",
"rgb": {
"r": 33,
"g": 31,
"b": 120
},
"hsl": {
"h": 241.348,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.3119,
"c": 0.14551,
"h": 274.9
},
"luminance": 0.02659
}Semantic roles & 50–950 ramp
primary
#211F78
secondary
#A9AB47
accent
#E246DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E