#212E90#212E90
#212E90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.160 H 270.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #212E90 |
|---|---|
| RGB | rgb(33, 46, 144) |
| HSL | hsl(233, 63%, 35%) |
| HSV | hsv(233, 77%, 56%) |
| CMYK | cmyk(77.1%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(24.61, 30.85, -55.42) |
| CIE-LCH | lch(24.61, 63.43, 299.11°) |
| OKLab | oklab(36.25% 0.0002 -0.1603) |
| OKLCH | oklch(36.25% 0.16 270.1) |
| XYZ | xyz(6.6365, 4.2902, 26.8585) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Royal
#0C1793
ΔE00 5.81
Blueberry
#464196
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 6.80
Midnight Blue
#191970
ΔE00 6.88
Indigo Blue
#3A18B1
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E90 #908321
analogous
#216690 #212E90 #4C2190
triadic
#212E90 #90212E #2E9021
tetradic
#212E90 #902166 #908321 #21904C
square
#212E90 #902166 #908321 #21904C
split-complementary
#212E90 #904C21 #669021
monochromatic
#0A0E2C #161E5E #212E90 #2C3EC2 #5463D8
Accessibility & contrast
On white
11.30
#212E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#212E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E90
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E90 | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #212e90; /* rgb */ color: rgb(33, 46, 144); /* oklch */ color: oklch(36.2% 0.160 270.1);
Tailwind
colors: {
custom: {
50: '#6f67b1',
500: '#212e90',
950: '#000000',
},
}SCSS
$custom: #212e90; $custom-light: #6f67b1; $custom-dark: #000000;
JSON
{
"hex": "#212e90",
"rgb": {
"r": 33,
"g": 46,
"b": 144
},
"hsl": {
"h": 232.973,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.36248,
"c": 0.16033,
"h": 270.1
},
"luminance": 0.04291
}Semantic roles & 50–950 ramp
primary
#212E90
secondary
#BBAF51
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80