#212C94#212C94
#212C94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.168 H 270.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #212C94 |
|---|---|
| RGB | rgb(33, 44, 148) |
| HSL | hsl(234, 64%, 35%) |
| HSV | hsv(234, 78%, 58%) |
| CMYK | cmyk(77.7%, 70.3%, 0%, 42%) |
| CIE-LAB | lab(24.52, 33.64, -58.03) |
| CIE-LCH | lch(24.52, 67.08, 300.10°) |
| OKLab | oklab(36.3% 0.0009 -0.168) |
| OKLCH | oklch(36.3% 0.168 270.3) |
| XYZ | xyz(6.8714, 4.2621, 28.4718) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.43
Royal
#0C1793
ΔE00 5.09
Indigo Blue
#3A18B1
ΔE00 6.84
Midnight Blue
#191970
ΔE00 6.86
Blueberry
#464196
ΔE00 7.05
Cobalt Blue
#030AA7
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C94 #948921
analogous
#216594 #212C94 #4F2194
triadic
#212C94 #94212C #2C9421
tetradic
#212C94 #942165 #948921 #21944F
square
#212C94 #942165 #948921 #21944F
split-complementary
#212C94 #944F21 #659421
monochromatic
#0B0E30 #161D62 #212C94 #2C3BC6 #5663D9
Accessibility & contrast
On white
11.34
#212C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#212C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C94
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C94 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #212c94; /* rgb */ color: rgb(33, 44, 148); /* oklch */ color: oklch(36.3% 0.168 270.3);
Tailwind
colors: {
custom: {
50: '#7065b4',
500: '#212c94',
950: '#000000',
},
}SCSS
$custom: #212c94; $custom-light: #7065b4; $custom-dark: #000000;
JSON
{
"hex": "#212c94",
"rgb": {
"r": 33,
"g": 44,
"b": 148
},
"hsl": {
"h": 234.261,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.36303,
"c": 0.16798,
"h": 270.3
},
"luminance": 0.04263
}Semantic roles & 50–950 ramp
primary
#212C94
secondary
#BDB354
accent
#D741E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80