#212EA0#212EA0
#212EA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.181 H 269.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #212EA0 |
|---|---|
| RGB | rgb(33, 46, 160) |
| HSL | hsl(234, 66%, 38%) |
| HSV | hsv(234, 79%, 63%) |
| CMYK | cmyk(79.4%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(26.20, 36.74, -62.61) |
| CIE-LCH | lch(26.20, 72.60, 300.41°) |
| OKLab | oklab(37.88% -0.0014 -0.1813) |
| OKLCH | oklch(37.88% 0.181 269.6) |
| XYZ | xyz(7.9472, 4.8145, 33.7613) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.09
Royal
#0C1793
ΔE00 5.69
Indigo Blue
#3A18B1
ΔE00 6.05
Blueberry
#464196
ΔE00 6.85
Cobalt Blue
#030AA7
ΔE00 6.94
True Blue
#010FCC
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212EA0 #A09321
analogous
#216EA0 #212EA0 #5321A0
triadic
#212EA0 #A0212E #2EA021
tetradic
#212EA0 #A0216E #A09321 #21A053
square
#212EA0 #A0216E #A09321 #21A053
split-complementary
#212EA0 #A05321 #6EA021
monochromatic
#0C113B #171F6D #212EA0 #2B3DD3 #5E6BDE
Accessibility & contrast
On white
10.70
#212EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#212EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212EA0
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212EA0 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #212ea0; /* rgb */ color: rgb(33, 46, 160); /* oklch */ color: oklch(37.9% 0.181 269.6);
Tailwind
colors: {
custom: {
50: '#7367bd',
500: '#212ea0',
950: '#000000',
},
}SCSS
$custom: #212ea0; $custom-light: #7367bd; $custom-dark: #000000;
JSON
{
"hex": "#212ea0",
"rgb": {
"r": 33,
"g": 46,
"b": 160
},
"hsl": {
"h": 233.858,
"s": 65.803,
"l": 37.843
},
"oklch": {
"l": 0.37883,
"c": 0.18133,
"h": 269.6
},
"luminance": 0.04815
}Semantic roles & 50–950 ramp
primary
#212EA0
secondary
#C2B85B
accent
#D73FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81