#212E86#212E86
#212E86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.147 H 270.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #212E86 |
|---|---|
| RGB | rgb(33, 46, 134) |
| HSL | hsl(232, 60%, 33%) |
| HSV | hsv(232, 75%, 53%) |
| CMYK | cmyk(75.4%, 65.7%, 0%, 47.5%) |
| CIE-LAB | lab(23.66, 27.07, -50.74) |
| CIE-LCH | lch(23.66, 57.51, 298.08°) |
| OKLab | oklab(35.27% 0.0008 -0.1466) |
| OKLCH | oklch(35.27% 0.147 270.3) |
| XYZ | xyz(5.9058, 3.9979, 23.0101) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.76
Midnight Blue
#191970
ΔE00 6.25
Royal
#0C1793
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.72
Blueberry
#464196
ΔE00 6.96
Marine
#042E60
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E86 #867921
analogous
#216186 #212E86 #462186
triadic
#212E86 #86212E #2E8621
tetradic
#212E86 #862161 #867921 #218646
square
#212E86 #862161 #867921 #218646
split-complementary
#212E86 #864621 #618621
monochromatic
#090C24 #151D55 #212E86 #2D3FB7 #4E5FD3
Accessibility & contrast
On white
11.67
#212E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#212E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E86
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E86 | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #212e86; /* rgb */ color: rgb(33, 46, 134); /* oklch */ color: oklch(35.3% 0.147 270.3);
Tailwind
colors: {
custom: {
50: '#6c66aa',
500: '#212e86',
950: '#000000',
},
}SCSS
$custom: #212e86; $custom-light: #6c66aa; $custom-dark: #000000;
JSON
{
"hex": "#212e86",
"rgb": {
"r": 33,
"g": 46,
"b": 134
},
"hsl": {
"h": 232.277,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.35268,
"c": 0.14665,
"h": 270.3
},
"luminance": 0.03999
}Semantic roles & 50–950 ramp
primary
#212E86
secondary
#B7A94C
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F