#212C73#212C73
#212C73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.122 H 271.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #212C73 |
|---|---|
| RGB | rgb(33, 44, 115) |
| HSL | hsl(232, 55%, 29%) |
| HSV | hsv(232, 71%, 45%) |
| CMYK | cmyk(71.3%, 61.7%, 0%, 54.9%) |
| CIE-LAB | lab(21.44, 21.12, -42.34) |
| CIE-LCH | lch(21.44, 47.31, 296.51°) |
| OKLab | oklab(33.1% 0.0029 -0.122) |
| OKLCH | oklch(33.1% 0.122 271.4) |
| XYZ | xyz(4.6213, 3.3621, 16.6217) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.69
Marine
#042E60
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 7.63
Marine Blue
#01386A
ΔE00 7.76
Navy Blue
#1B2A4A
ΔE00 8.07
Royal
#0C1793
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C73 #736821
analogous
#215573 #212C73 #3F2173
triadic
#212C73 #73212C #2C7321
tetradic
#212C73 #732155 #736821 #21733F
square
#212C73 #732155 #736821 #21733F
split-complementary
#212C73 #733F21 #557321
monochromatic
#070918 #131A43 #212C73 #2F3EA3 #4557CA
Accessibility & contrast
On white
12.56
#212C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#212C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C73
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C73 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #212c73; /* rgb */ color: rgb(33, 44, 115); /* oklch */ color: oklch(33.1% 0.122 271.4);
Tailwind
colors: {
custom: {
50: '#68659c',
500: '#212c73',
950: '#000000',
},
}SCSS
$custom: #212c73; $custom-light: #68659c; $custom-dark: #000000;
JSON
{
"hex": "#212c73",
"rgb": {
"r": 33,
"g": 44,
"b": 115
},
"hsl": {
"h": 231.951,
"s": 55.405,
"l": 29.02
},
"oklch": {
"l": 0.33099,
"c": 0.12205,
"h": 271.4
},
"luminance": 0.03363
}Semantic roles & 50–950 ramp
primary
#212C73
secondary
#A69A49
accent
#CB49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E