#212C79#212C79
#212C79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.131 H 271.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #212C79 |
|---|---|
| RGB | rgb(33, 44, 121) |
| HSL | hsl(233, 57%, 30%) |
| HSV | hsv(233, 73%, 47%) |
| CMYK | cmyk(72.7%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(21.96, 23.44, -45.32) |
| CIE-LCH | lch(21.96, 51.03, 297.35°) |
| OKLab | oklab(33.65% 0.0028 -0.1308) |
| OKLCH | oklch(33.65% 0.131 271.2) |
| XYZ | xyz(4.9779, 3.5047, 18.4996) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.45
Marine
#042E60
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 7.28
Royal
#0C1793
ΔE00 7.39
Sapphire (survey)
#2138AB
ΔE00 7.77
Blueberry
#464196
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C79 #796E21
analogous
#215879 #212C79 #422179
triadic
#212C79 #79212C #2C7921
tetradic
#212C79 #792158 #796E21 #217942
square
#212C79 #792158 #796E21 #217942
split-complementary
#212C79 #794221 #587921
monochromatic
#070919 #141B49 #212C79 #2E3DA9 #4758CD
Accessibility & contrast
On white
12.35
#212C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#212C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C79
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C79 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #212c79; /* rgb */ color: rgb(33, 44, 121); /* oklch */ color: oklch(33.6% 0.131 271.2);
Tailwind
colors: {
custom: {
50: '#6965a0',
500: '#212c79',
950: '#000000',
},
}SCSS
$custom: #212c79; $custom-light: #6965a0; $custom-dark: #000000;
JSON
{
"hex": "#212c79",
"rgb": {
"r": 33,
"g": 44,
"b": 121
},
"hsl": {
"h": 232.5,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.33649,
"c": 0.13081,
"h": 271.2
},
"luminance": 0.03505
}Semantic roles & 50–950 ramp
primary
#212C79
secondary
#ACA04A
accent
#CD47E0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E