#212C76#212C76
#212C76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.126 H 271.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #212C76 |
|---|---|
| RGB | rgb(33, 44, 118) |
| HSL | hsl(232, 56%, 30%) |
| HSV | hsv(232, 72%, 46%) |
| CMYK | cmyk(72%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.70, 22.28, -43.84) |
| CIE-LCH | lch(21.70, 49.18, 296.94°) |
| OKLab | oklab(33.37% 0.0029 -0.1264) |
| OKLCH | oklch(33.37% 0.126 271.3) |
| XYZ | xyz(4.7968, 3.4322, 17.5457) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.54
Marine
#042E60
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 7.44
Royal
#0C1793
ΔE00 7.81
Marine Blue
#01386A
ΔE00 7.93
Sapphire (survey)
#2138AB
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C76 #766B21
analogous
#215776 #212C76 #412176
triadic
#212C76 #76212C #2C7621
tetradic
#212C76 #762157 #766B21 #217641
square
#212C76 #762157 #766B21 #217641
split-complementary
#212C76 #764121 #577621
monochromatic
#070918 #141A46 #212C76 #2E3EA6 #4657CB
Accessibility & contrast
On white
12.45
#212C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#212C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C76
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C76 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #212c76; /* rgb */ color: rgb(33, 44, 118); /* oklch */ color: oklch(33.4% 0.126 271.3);
Tailwind
colors: {
custom: {
50: '#69659e',
500: '#212c76',
950: '#000000',
},
}SCSS
$custom: #212c76; $custom-light: #69659e; $custom-dark: #000000;
JSON
{
"hex": "#212c76",
"rgb": {
"r": 33,
"g": 44,
"b": 118
},
"hsl": {
"h": 232.235,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.33372,
"c": 0.12645,
"h": 271.3
},
"luminance": 0.03433
}Semantic roles & 50–950 ramp
primary
#212C76
secondary
#A99D4A
accent
#CC48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E