#212C72#212C72
#212C72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.121 H 271.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #212C72 |
|---|---|
| RGB | rgb(33, 44, 114) |
| HSL | hsl(232, 55%, 29%) |
| HSV | hsv(232, 71%, 45%) |
| CMYK | cmyk(71.1%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(21.35, 20.73, -41.84) |
| CIE-LCH | lch(21.35, 46.69, 296.36°) |
| OKLab | oklab(33.01% 0.0029 -0.1205) |
| OKLCH | oklch(33.01% 0.121 271.4) |
| XYZ | xyz(4.5641, 3.3392, 16.3203) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.74
Midnight Blue
#191970
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 7.70
Marine Blue
#01386A
ΔE00 7.71
Navy Blue
#1B2A4A
ΔE00 7.91
Royal
#0C1793
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C72 #726721
analogous
#215572 #212C72 #3F2172
triadic
#212C72 #72212C #2C7221
tetradic
#212C72 #722155 #726721 #21723F
square
#212C72 #722155 #726721 #21723F
split-complementary
#212C72 #723F21 #557221
monochromatic
#070918 #131A43 #212C72 #2F3EA1 #4456C9
Accessibility & contrast
On white
12.59
#212C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#212C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C72
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C72 | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #212c72; /* rgb */ color: rgb(33, 44, 114); /* oklch */ color: oklch(33.0% 0.121 271.4);
Tailwind
colors: {
custom: {
50: '#68659b',
500: '#212c72',
950: '#000000',
},
}SCSS
$custom: #212c72; $custom-light: #68659b; $custom-dark: #000000;
JSON
{
"hex": "#212c72",
"rgb": {
"r": 33,
"g": 44,
"b": 114
},
"hsl": {
"h": 231.852,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.33009,
"c": 0.12057,
"h": 271.4
},
"luminance": 0.0334
}Semantic roles & 50–950 ramp
primary
#212C72
secondary
#A59949
accent
#CA49DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E