#212C90#212C90
#212C90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.163 H 270.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #212C90 |
|---|---|
| RGB | rgb(33, 44, 144) |
| HSL | hsl(234, 63%, 35%) |
| HSV | hsv(234, 77%, 56%) |
| CMYK | cmyk(77.1%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.12, 32.16, -56.22) |
| CIE-LCH | lch(24.12, 64.77, 299.77°) |
| OKLab | oklab(35.89% 0.0013 -0.1627) |
| OKLCH | oklch(35.89% 0.163 270.5) |
| XYZ | xyz(6.5602, 4.1376, 26.8330) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Royal
#0C1793
ΔE00 5.22
Midnight Blue
#191970
ΔE00 6.47
Blueberry
#464196
ΔE00 7.06
Darkslateblue
#483D8B
ΔE00 7.06
Indigo Blue
#3A18B1
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C90 #908521
analogous
#216490 #212C90 #4E2190
triadic
#212C90 #90212C #2C9021
tetradic
#212C90 #902164 #908521 #21904E
square
#212C90 #902164 #908521 #21904E
split-complementary
#212C90 #904E21 #649021
monochromatic
#0A0E2C #161D5E #212C90 #2C3BC2 #5461D8
Accessibility & contrast
On white
11.49
#212C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#212C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C90
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C90 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212c90; /* rgb */ color: rgb(33, 44, 144); /* oklch */ color: oklch(35.9% 0.163 270.5);
Tailwind
colors: {
custom: {
50: '#6f65b2',
500: '#212c90',
950: '#000000',
},
}SCSS
$custom: #212c90; $custom-light: #6f65b2; $custom-dark: #000000;
JSON
{
"hex": "#212c90",
"rgb": {
"r": 33,
"g": 44,
"b": 144
},
"hsl": {
"h": 234.054,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.35894,
"c": 0.16269,
"h": 270.5
},
"luminance": 0.04138
}Semantic roles & 50–950 ramp
primary
#212C90
secondary
#BBB151
accent
#D642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80