#212B79#212B79
#212B79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.132 H 271.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #212B79 |
|---|---|
| RGB | rgb(33, 43, 121) |
| HSL | hsl(233, 57%, 30%) |
| HSV | hsv(233, 73%, 47%) |
| CMYK | cmyk(72.7%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(21.69, 24.14, -45.76) |
| CIE-LCH | lch(21.69, 51.73, 297.81°) |
| OKLab | oklab(33.45% 0.0036 -0.1321) |
| OKLCH | oklch(33.45% 0.132 271.6) |
| XYZ | xyz(4.9411, 3.4311, 18.4873) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.12
Marine
#042E60
ΔE00 6.74
Royal
#0C1793
ΔE00 7.12
Darkslateblue
#483D8B
ΔE00 7.37
Sapphire (survey)
#2138AB
ΔE00 7.85
Blueberry
#464196
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212B79 #796F21
analogous
#215779 #212B79 #432179
triadic
#212B79 #79212B #2B7921
tetradic
#212B79 #792157 #796F21 #217943
square
#212B79 #792157 #796F21 #217943
split-complementary
#212B79 #794321 #577921
monochromatic
#070919 #141A49 #212B79 #2E3CA9 #4757CD
Accessibility & contrast
On white
12.45
#212B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#212B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212B79
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212B79 | 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)
#00387C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #212b79; /* rgb */ color: rgb(33, 43, 121); /* oklch */ color: oklch(33.5% 0.132 271.6);
Tailwind
colors: {
custom: {
50: '#6964a0',
500: '#212b79',
950: '#000000',
},
}SCSS
$custom: #212b79; $custom-light: #6964a0; $custom-dark: #000000;
JSON
{
"hex": "#212b79",
"rgb": {
"r": 33,
"g": 43,
"b": 121
},
"hsl": {
"h": 233.182,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.33452,
"c": 0.13212,
"h": 271.6
},
"luminance": 0.03432
}Semantic roles & 50–950 ramp
primary
#212B79
secondary
#ACA14A
accent
#CF47E0
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F