#212E9D#212E9D
#212E9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.177 H 269.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #212E9D |
|---|---|
| RGB | rgb(33, 46, 157) |
| HSL | hsl(234, 65%, 37%) |
| HSV | hsv(234, 79%, 62%) |
| CMYK | cmyk(79%, 70.7%, 0%, 38.4%) |
| CIE-LAB | lab(25.89, 35.66, -61.29) |
| CIE-LCH | lch(25.89, 70.90, 300.19°) |
| OKLab | oklab(37.57% -0.0011 -0.1775) |
| OKLCH | oklch(37.57% 0.177 269.7) |
| XYZ | xyz(7.6879, 4.7108, 32.3958) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Royal
#0C1793
ΔE00 5.62
Indigo Blue
#3A18B1
ΔE00 6.32
Blueberry
#464196
ΔE00 6.78
Cobalt Blue
#030AA7
ΔE00 7.06
Darkslateblue
#483D8B
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E9D #9D9021
analogous
#216C9D #212E9D #52219D
triadic
#212E9D #9D212E #2E9D21
tetradic
#212E9D #9D216C #9D9021 #219D52
square
#212E9D #9D216C #9D9021 #219D52
split-complementary
#212E9D #9D5221 #6C9D21
monochromatic
#0C1038 #161F6A #212E9D #2C3DD0 #5C69DD
Accessibility & contrast
On white
10.81
#212E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#212E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E9D
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E9D | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #212e9d; /* rgb */ color: rgb(33, 46, 157); /* oklch */ color: oklch(37.6% 0.177 269.7);
Tailwind
colors: {
custom: {
50: '#7267bb',
500: '#212e9d',
950: '#000000',
},
}SCSS
$custom: #212e9d; $custom-light: #7267bb; $custom-dark: #000000;
JSON
{
"hex": "#212e9d",
"rgb": {
"r": 33,
"g": 46,
"b": 157
},
"hsl": {
"h": 233.71,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.37571,
"c": 0.17747,
"h": 269.7
},
"luminance": 0.04712
}Semantic roles & 50–950 ramp
primary
#212E9D
secondary
#C1B659
accent
#D740E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81