#212E89#212E89
#212E89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.151 H 270.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #212E89 |
|---|---|
| RGB | rgb(33, 46, 137) |
| HSL | hsl(233, 61%, 33%) |
| HSV | hsv(233, 76%, 54%) |
| CMYK | cmyk(75.9%, 66.4%, 0%, 46.3%) |
| CIE-LAB | lab(23.94, 28.21, -52.16) |
| CIE-LCH | lch(23.94, 59.30, 298.41°) |
| OKLab | oklab(35.56% 0.0006 -0.1508) |
| OKLCH | oklch(35.56% 0.151 270.2) |
| XYZ | xyz(6.1180, 4.0828, 24.1277) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.36
Royal
#0C1793
ΔE00 6.25
Midnight Blue
#191970
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.71
Blueberry
#464196
ΔE00 6.85
Marine
#042E60
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E89 #897C21
analogous
#216289 #212E89 #482189
triadic
#212E89 #89212E #2E8921
tetradic
#212E89 #892162 #897C21 #218948
square
#212E89 #892162 #897C21 #218948
split-complementary
#212E89 #894821 #628921
monochromatic
#090D26 #151D58 #212E89 #2D3FBA #5060D5
Accessibility & contrast
On white
11.56
#212E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#212E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E89
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E89 | 1.00 | 11.56 | 1.82 | 11.56 |
| #FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212e89; /* rgb */ color: rgb(33, 46, 137); /* oklch */ color: oklch(35.6% 0.151 270.2);
Tailwind
colors: {
custom: {
50: '#6d66ac',
500: '#212e89',
950: '#000000',
},
}SCSS
$custom: #212e89; $custom-light: #6d66ac; $custom-dark: #000000;
JSON
{
"hex": "#212e89",
"rgb": {
"r": 33,
"g": 46,
"b": 137
},
"hsl": {
"h": 232.5,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.35559,
"c": 0.1508,
"h": 270.2
},
"luminance": 0.04083
}Semantic roles & 50–950 ramp
primary
#212E89
secondary
#B8AB4E
accent
#D044E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F