#212E9E#212E9E
#212E9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.179 H 269.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #212E9E |
|---|---|
| RGB | rgb(33, 46, 158) |
| HSL | hsl(234, 65%, 37%) |
| HSV | hsv(234, 79%, 62%) |
| CMYK | cmyk(79.1%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(26.00, 36.02, -61.73) |
| CIE-LCH | lch(26.00, 71.47, 300.26°) |
| OKLab | oklab(37.67% -0.0012 -0.1788) |
| OKLCH | oklch(37.67% 0.179 269.6) |
| XYZ | xyz(7.7736, 4.7451, 32.8473) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Royal
#0C1793
ΔE00 5.64
Indigo Blue
#3A18B1
ΔE00 6.23
Blueberry
#464196
ΔE00 6.80
Cobalt Blue
#030AA7
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E9E #9E9121
analogous
#216D9E #212E9E #53219E
triadic
#212E9E #9E212E #2E9E21
tetradic
#212E9E #9E216D #9E9121 #219E53
square
#212E9E #9E216D #9E9121 #219E53
split-complementary
#212E9E #9E5321 #6D9E21
monochromatic
#0C1139 #161F6B #212E9E #2C3DD1 #5C6ADD
Accessibility & contrast
On white
10.77
#212E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#212E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E9E
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E9E | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #212e9e; /* rgb */ color: rgb(33, 46, 158); /* oklch */ color: oklch(37.7% 0.179 269.6);
Tailwind
colors: {
custom: {
50: '#7367bc',
500: '#212e9e',
950: '#000000',
},
}SCSS
$custom: #212e9e; $custom-light: #7367bc; $custom-dark: #000000;
JSON
{
"hex": "#212e9e",
"rgb": {
"r": 33,
"g": 46,
"b": 158
},
"hsl": {
"h": 233.76,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.37675,
"c": 0.17876,
"h": 269.6
},
"luminance": 0.04746
}Semantic roles & 50–950 ramp
primary
#212E9E
secondary
#C1B759
accent
#D73FE8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81