#212B76#212B76
#212B76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.128 H 271.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #212B76 |
|---|---|
| RGB | rgb(33, 43, 118) |
| HSL | hsl(233, 56%, 30%) |
| HSV | hsv(233, 72%, 46%) |
| CMYK | cmyk(72%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(21.43, 22.98, -44.28) |
| CIE-LCH | lch(21.43, 49.89, 297.43°) |
| OKLab | oklab(33.17% 0.0037 -0.1277) |
| OKLCH | oklch(33.17% 0.128 271.7) |
| XYZ | xyz(4.7600, 3.3586, 17.5335) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.20
Marine
#042E60
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 7.52
Royal
#0C1793
ΔE00 7.54
Marine Blue
#01386A
ΔE00 8.23
Sapphire (survey)
#2138AB
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212B76 #766C21
analogous
#215676 #212B76 #422176
triadic
#212B76 #76212B #2B7621
tetradic
#212B76 #762156 #766C21 #217642
square
#212B76 #762156 #766C21 #217642
split-complementary
#212B76 #764221 #567621
monochromatic
#070918 #141A46 #212B76 #2E3CA6 #4656CB
Accessibility & contrast
On white
12.56
#212B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#212B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212B76
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212B76 | 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)
#003778
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #212b76; /* rgb */ color: rgb(33, 43, 118); /* oklch */ color: oklch(33.2% 0.128 271.7);
Tailwind
colors: {
custom: {
50: '#69649e',
500: '#212b76',
950: '#000000',
},
}SCSS
$custom: #212b76; $custom-light: #69649e; $custom-dark: #000000;
JSON
{
"hex": "#212b76",
"rgb": {
"r": 33,
"g": 43,
"b": 118
},
"hsl": {
"h": 232.941,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.33171,
"c": 0.12778,
"h": 271.7
},
"luminance": 0.03359
}Semantic roles & 50–950 ramp
primary
#212B76
secondary
#A99E4A
accent
#CE48E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E