#212E93#212E93
#212E93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.164 H 270.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #212E93 |
|---|---|
| RGB | rgb(33, 46, 147) |
| HSL | hsl(233, 63%, 35%) |
| HSV | hsv(233, 78%, 58%) |
| CMYK | cmyk(77.6%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(24.90, 31.97, -56.79) |
| CIE-LCH | lch(24.90, 65.17, 299.38°) |
| OKLab | oklab(36.55% -0.0001 -0.1643) |
| OKLCH | oklch(36.55% 0.164 270) |
| XYZ | xyz(6.8689, 4.3832, 28.0821) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.17
Royal
#0C1793
ΔE00 5.70
Blueberry
#464196
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 6.88
Midnight Blue
#191970
ΔE00 7.14
Indigo Blue
#3A18B1
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E93 #938621
analogous
#216793 #212E93 #4D2193
triadic
#212E93 #93212E #2E9321
tetradic
#212E93 #932167 #938621 #21934D
square
#212E93 #932167 #938621 #21934D
split-complementary
#212E93 #934D21 #679321
monochromatic
#0B0F2F #161E61 #212E93 #2C3EC5 #5564D9
Accessibility & contrast
On white
11.19
#212E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#212E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E93
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E93 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #212e93; /* rgb */ color: rgb(33, 46, 147); /* oklch */ color: oklch(36.5% 0.164 270.0);
Tailwind
colors: {
custom: {
50: '#7067b4',
500: '#212e93',
950: '#000000',
},
}SCSS
$custom: #212e93; $custom-light: #7067b4; $custom-dark: #000000;
JSON
{
"hex": "#212e93",
"rgb": {
"r": 33,
"g": 46,
"b": 147
},
"hsl": {
"h": 233.158,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.36549,
"c": 0.16435,
"h": 270
},
"luminance": 0.04384
}Semantic roles & 50–950 ramp
primary
#212E93
secondary
#BDB153
accent
#D441E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80