#212C91#212C91
#212C91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.164 H 270.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #212C91 |
|---|---|
| RGB | rgb(33, 44, 145) |
| HSL | hsl(234, 63%, 35%) |
| HSV | hsv(234, 77%, 57%) |
| CMYK | cmyk(77.2%, 69.7%, 0%, 43.1%) |
| CIE-LAB | lab(24.22, 32.53, -56.67) |
| CIE-LCH | lch(24.22, 65.35, 299.86°) |
| OKLab | oklab(36% 0.0012 -0.164) |
| OKLCH | oklch(36% 0.164 270.4) |
| XYZ | xyz(6.6370, 4.1683, 27.2374) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.72
Royal
#0C1793
ΔE00 5.18
Midnight Blue
#191970
ΔE00 6.57
Blueberry
#464196
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.09
Indigo Blue
#3A18B1
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C91 #918621
analogous
#216491 #212C91 #4E2191
triadic
#212C91 #91212C #2C9121
tetradic
#212C91 #912164 #918621 #21914E
square
#212C91 #912164 #918621 #21914E
split-complementary
#212C91 #914E21 #649121
monochromatic
#0A0E2D #161D5F #212C91 #2C3BC3 #5461D8
Accessibility & contrast
On white
11.45
#212C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#212C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C91
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C91 | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #212c91; /* rgb */ color: rgb(33, 44, 145); /* oklch */ color: oklch(36.0% 0.164 270.4);
Tailwind
colors: {
custom: {
50: '#6f65b2',
500: '#212c91',
950: '#000000',
},
}SCSS
$custom: #212c91; $custom-light: #6f65b2; $custom-dark: #000000;
JSON
{
"hex": "#212c91",
"rgb": {
"r": 33,
"g": 44,
"b": 145
},
"hsl": {
"h": 234.107,
"s": 62.921,
"l": 34.902
},
"oklch": {
"l": 0.35996,
"c": 0.16401,
"h": 270.4
},
"luminance": 0.04169
}Semantic roles & 50–950 ramp
primary
#212C91
secondary
#BCB152
accent
#D642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80