#212F70#212F70
#212F70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.113 H 270.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #212F70 |
|---|---|
| RGB | rgb(33, 47, 112) |
| HSL | hsl(229, 54%, 28%) |
| HSV | hsv(229, 71%, 44%) |
| CMYK | cmyk(70.5%, 58%, 0%, 56.1%) |
| CIE-LAB | lab(22.04, 17.82, -39.44) |
| CIE-LCH | lch(22.04, 43.28, 294.32°) |
| OKLab | oklab(33.47% 0 -0.1135) |
| OKLCH | oklch(33.47% 0.113 270) |
| XYZ | xyz(4.5673, 3.5258, 15.7659) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.87
Marine Blue
#01386A
ΔE00 6.70
Midnight Blue
#191970
ΔE00 6.98
Navy Blue
#1B2A4A
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.76
Darkish Blue
#014182
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F70 #706221
analogous
#215670 #212F70 #3A2170
triadic
#212F70 #70212F #2F7021
tetradic
#212F70 #702156 #706221 #21703A
square
#212F70 #702156 #706221 #21703A
split-complementary
#212F70 #703A21 #567021
monochromatic
#070A18 #131B41 #212F70 #2F439F #445BC8
Accessibility & contrast
On white
12.32
#212F70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#212F70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F70
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F70 | 1.00 | 12.32 | 1.71 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #212f70; /* rgb */ color: rgb(33, 47, 112); /* oklch */ color: oklch(33.5% 0.113 270.0);
Tailwind
colors: {
custom: {
50: '#67679a',
500: '#212f70',
950: '#000000',
},
}SCSS
$custom: #212f70; $custom-light: #67679a; $custom-dark: #000000;
JSON
{
"hex": "#212f70",
"rgb": {
"r": 33,
"g": 47,
"b": 112
},
"hsl": {
"h": 229.367,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.33468,
"c": 0.11346,
"h": 270
},
"luminance": 0.03526
}Semantic roles & 50–950 ramp
primary
#212F70
secondary
#A49449
accent
#C44ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E