#212B71#212B71
#212B71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.120 H 271.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #212B71 |
|---|---|
| RGB | rgb(33, 43, 113) |
| HSL | hsl(233, 55%, 29%) |
| HSV | hsv(233, 71%, 44%) |
| CMYK | cmyk(70.8%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(20.99, 21.04, -41.78) |
| CIE-LCH | lch(20.99, 46.78, 296.73°) |
| OKLab | oklab(32.71% 0.0038 -0.1204) |
| OKLCH | oklch(32.71% 0.12 271.8) |
| XYZ | xyz(4.4707, 3.2429, 16.0099) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.47
Marine
#042E60
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 7.84
Navy Blue
#1B2A4A
ΔE00 7.90
Marine Blue
#01386A
ΔE00 7.97
Royal
#0C1793
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212B71 #716721
analogous
#215371 #212B71 #3F2171
triadic
#212B71 #71212B #2B7121
tetradic
#212B71 #712153 #716721 #21713F
square
#212B71 #712153 #716721 #21713F
split-complementary
#212B71 #713F21 #537121
monochromatic
#070918 #131942 #212B71 #2F3DA0 #4455C8
Accessibility & contrast
On white
12.74
#212B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#212B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212B71
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212B71 | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #212b71; /* rgb */ color: rgb(33, 43, 113); /* oklch */ color: oklch(32.7% 0.120 271.8);
Tailwind
colors: {
custom: {
50: '#67649a',
500: '#212b71',
950: '#000000',
},
}SCSS
$custom: #212b71; $custom-light: #67649a; $custom-dark: #000000;
JSON
{
"hex": "#212b71",
"rgb": {
"r": 33,
"g": 43,
"b": 113
},
"hsl": {
"h": 232.5,
"s": 54.795,
"l": 28.627
},
"oklch": {
"l": 0.32713,
"c": 0.12045,
"h": 271.8
},
"luminance": 0.03243
}Semantic roles & 50–950 ramp
primary
#212B71
secondary
#A59949
accent
#CC4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E