#212E92#212E92
#212E92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.163 H 270.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #212E92 |
|---|---|
| RGB | rgb(33, 46, 146) |
| HSL | hsl(233, 63%, 35%) |
| HSV | hsv(233, 77%, 57%) |
| CMYK | cmyk(77.4%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(24.80, 31.60, -56.33) |
| CIE-LCH | lch(24.80, 64.59, 299.29°) |
| OKLab | oklab(36.45% 0 -0.163) |
| OKLCH | oklch(36.45% 0.163 270) |
| XYZ | xyz(6.7907, 4.3519, 27.6707) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Royal
#0C1793
ΔE00 5.73
Blueberry
#464196
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 6.85
Midnight Blue
#191970
ΔE00 7.05
Indigo Blue
#3A18B1
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E92 #928521
analogous
#216792 #212E92 #4C2192
triadic
#212E92 #92212E #2E9221
tetradic
#212E92 #922167 #928521 #21924C
square
#212E92 #922167 #928521 #21924C
split-complementary
#212E92 #924C21 #679221
monochromatic
#0A0F2E #161E60 #212E92 #2C3EC4 #5564D9
Accessibility & contrast
On white
11.23
#212E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#212E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E92
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E92 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #212e92; /* rgb */ color: rgb(33, 46, 146); /* oklch */ color: oklch(36.4% 0.163 270.0);
Tailwind
colors: {
custom: {
50: '#7067b3',
500: '#212e92',
950: '#000000',
},
}SCSS
$custom: #212e92; $custom-light: #7067b3; $custom-dark: #000000;
JSON
{
"hex": "#212e92",
"rgb": {
"r": 33,
"g": 46,
"b": 146
},
"hsl": {
"h": 233.097,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.36449,
"c": 0.16301,
"h": 270
},
"luminance": 0.04353
}Semantic roles & 50–950 ramp
primary
#212E92
secondary
#BCB053
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80