#212C74#212C74
#212C74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.124 H 271.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #212C74 |
|---|---|
| RGB | rgb(33, 44, 116) |
| HSL | hsl(232, 56%, 29%) |
| HSV | hsv(232, 72%, 45%) |
| CMYK | cmyk(71.6%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(21.52, 21.51, -42.84) |
| CIE-LCH | lch(21.52, 47.94, 296.66°) |
| OKLab | oklab(33.19% 0.0029 -0.1235) |
| OKLCH | oklch(33.19% 0.124 271.3) |
| XYZ | xyz(4.6792, 3.3852, 16.9264) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.63
Marine
#042E60
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 7.56
Marine Blue
#01386A
ΔE00 7.82
Royal
#0C1793
ΔE00 8.10
Navy Blue
#1B2A4A
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C74 #746921
analogous
#215674 #212C74 #402174
triadic
#212C74 #74212C #2C7421
tetradic
#212C74 #742156 #746921 #217440
square
#212C74 #742156 #746921 #217440
split-complementary
#212C74 #744021 #567421
monochromatic
#070918 #131A44 #212C74 #2F3EA4 #4557CA
Accessibility & contrast
On white
12.52
#212C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#212C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C74
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C74 | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #212c74; /* rgb */ color: rgb(33, 44, 116); /* oklch */ color: oklch(33.2% 0.124 271.3);
Tailwind
colors: {
custom: {
50: '#68659d',
500: '#212c74',
950: '#000000',
},
}SCSS
$custom: #212c74; $custom-light: #68659d; $custom-dark: #000000;
JSON
{
"hex": "#212c74",
"rgb": {
"r": 33,
"g": 44,
"b": 116
},
"hsl": {
"h": 232.048,
"s": 55.705,
"l": 29.216
},
"oklch": {
"l": 0.3319,
"c": 0.12352,
"h": 271.3
},
"luminance": 0.03386
}Semantic roles & 50–950 ramp
primary
#212C74
secondary
#A79B49
accent
#CB49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E