#212C96#212C96
#212C96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.171 H 270.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #212C96 |
|---|---|
| RGB | rgb(33, 44, 150) |
| HSL | hsl(234, 64%, 36%) |
| HSV | hsv(234, 78%, 59%) |
| CMYK | cmyk(78%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(24.72, 34.37, -58.93) |
| CIE-LCH | lch(24.72, 68.22, 300.25°) |
| OKLab | oklab(36.51% 0.0007 -0.1706) |
| OKLCH | oklch(36.51% 0.171 270.2) |
| XYZ | xyz(7.0310, 4.3259, 29.3127) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Royal
#0C1793
ΔE00 5.06
Indigo Blue
#3A18B1
ΔE00 6.61
Cobalt Blue
#030AA7
ΔE00 6.93
Blueberry
#464196
ΔE00 7.05
Midnight Blue
#191970
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C96 #968B21
analogous
#216696 #212C96 #502196
triadic
#212C96 #96212C #2C9621
tetradic
#212C96 #962166 #968B21 #219650
square
#212C96 #962166 #968B21 #219650
split-complementary
#212C96 #965021 #669621
monochromatic
#0B0F32 #161D64 #212C96 #2C3BC8 #5764DA
Accessibility & contrast
On white
11.26
#212C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#212C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C96
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C96 | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #212c96; /* rgb */ color: rgb(33, 44, 150); /* oklch */ color: oklch(36.5% 0.171 270.2);
Tailwind
colors: {
custom: {
50: '#7165b6',
500: '#212c96',
950: '#000000',
},
}SCSS
$custom: #212c96; $custom-light: #7165b6; $custom-dark: #000000;
JSON
{
"hex": "#212c96",
"rgb": {
"r": 33,
"g": 44,
"b": 150
},
"hsl": {
"h": 234.359,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.3651,
"c": 0.1706,
"h": 270.2
},
"luminance": 0.04327
}Semantic roles & 50–950 ramp
primary
#212C96
secondary
#BEB455
accent
#D741E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80