#212B70#212B70
#212B70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.119 H 271.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #212B70 |
|---|---|
| RGB | rgb(33, 43, 112) |
| HSL | hsl(232, 54%, 28%) |
| HSV | hsv(232, 71%, 44%) |
| CMYK | cmyk(70.5%, 61.6%, 0%, 56.1%) |
| CIE-LAB | lab(20.91, 20.65, -41.28) |
| CIE-LCH | lch(20.91, 46.16, 296.58°) |
| OKLab | oklab(32.62% 0.0038 -0.1189) |
| OKLCH | oklch(32.62% 0.119 271.8) |
| XYZ | xyz(4.4147, 3.2205, 15.7151) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.54
Marine
#042E60
ΔE00 5.79
Navy Blue
#1B2A4A
ΔE00 7.74
Darkslateblue
#483D8B
ΔE00 7.92
Marine Blue
#01386A
ΔE00 7.93
Royal
#0C1793
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212B70 #706621
analogous
#215270 #212B70 #3E2170
triadic
#212B70 #70212B #2B7021
tetradic
#212B70 #702152 #706621 #21703E
square
#212B70 #702152 #706621 #21703E
split-complementary
#212B70 #703E21 #527021
monochromatic
#070918 #131941 #212B70 #2F3D9F #4454C8
Accessibility & contrast
On white
12.77
#212B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#212B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212B70
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212B70 | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #212b70; /* rgb */ color: rgb(33, 43, 112); /* oklch */ color: oklch(32.6% 0.119 271.8);
Tailwind
colors: {
custom: {
50: '#67649a',
500: '#212b70',
950: '#000000',
},
}SCSS
$custom: #212b70; $custom-light: #67649a; $custom-dark: #000000;
JSON
{
"hex": "#212b70",
"rgb": {
"r": 33,
"g": 43,
"b": 112
},
"hsl": {
"h": 232.405,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.32623,
"c": 0.11897,
"h": 271.8
},
"luminance": 0.03221
}Semantic roles & 50–950 ramp
primary
#212B70
secondary
#A49849
accent
#CB4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E