#212E88#212E88
#212E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.149 H 270.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #212E88 |
|---|---|
| RGB | rgb(33, 46, 136) |
| HSL | hsl(232, 61%, 33%) |
| HSV | hsv(232, 76%, 53%) |
| CMYK | cmyk(75.7%, 66.2%, 0%, 46.7%) |
| CIE-LAB | lab(23.85, 27.83, -51.69) |
| CIE-LCH | lch(23.85, 58.70, 298.30°) |
| OKLab | oklab(35.46% 0.0007 -0.1494) |
| OKLCH | oklch(35.46% 0.149 270.3) |
| XYZ | xyz(6.0466, 4.0543, 23.7517) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.50
Royal
#0C1793
ΔE00 6.33
Midnight Blue
#191970
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.71
Blueberry
#464196
ΔE00 6.88
Marine
#042E60
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E88 #887B21
analogous
#216188 #212E88 #472188
triadic
#212E88 #88212E #2E8821
tetradic
#212E88 #882161 #887B21 #218847
square
#212E88 #882161 #887B21 #218847
split-complementary
#212E88 #884721 #618821
monochromatic
#090D25 #151D57 #212E88 #2D3FB9 #4F60D4
Accessibility & contrast
On white
11.60
#212E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#212E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E88
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E88 | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212e88; /* rgb */ color: rgb(33, 46, 136); /* oklch */ color: oklch(35.5% 0.149 270.3);
Tailwind
colors: {
custom: {
50: '#6d66ac',
500: '#212e88',
950: '#000000',
},
}SCSS
$custom: #212e88; $custom-light: #6d66ac; $custom-dark: #000000;
JSON
{
"hex": "#212e88",
"rgb": {
"r": 33,
"g": 46,
"b": 136
},
"hsl": {
"h": 232.427,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.35462,
"c": 0.14942,
"h": 270.3
},
"luminance": 0.04055
}Semantic roles & 50–950 ramp
primary
#212E88
secondary
#B8AA4D
accent
#D044E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F