#212F76#212F76
#212F76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.122 H 270.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #212F76 |
|---|---|
| RGB | rgb(33, 47, 118) |
| HSL | hsl(230, 56%, 30%) |
| HSV | hsv(230, 72%, 46%) |
| CMYK | cmyk(72%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(22.53, 20.18, -42.49) |
| CIE-LCH | lch(22.53, 47.04, 295.41°) |
| OKLab | oklab(33.99% 0.0003 -0.1224) |
| OKLCH | oklch(33.99% 0.122 270.1) |
| XYZ | xyz(4.9126, 3.6639, 17.5843) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.55
Midnight Blue
#191970
ΔE00 6.59
Marine Blue
#01386A
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.27
Blueberry
#464196
ΔE00 7.94
Darkish Blue
#014182
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F76 #766821
analogous
#215976 #212F76 #3E2176
triadic
#212F76 #76212F #2F7621
tetradic
#212F76 #762159 #766821 #21763E
square
#212F76 #762159 #766821 #21763E
split-complementary
#212F76 #763E21 #597621
monochromatic
#070A18 #141C46 #212F76 #2E42A6 #465CCB
Accessibility & contrast
On white
12.12
#212F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#212F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F76
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F76 | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #212f76; /* rgb */ color: rgb(33, 47, 118); /* oklch */ color: oklch(34.0% 0.122 270.1);
Tailwind
colors: {
custom: {
50: '#68679e',
500: '#212f76',
950: '#000000',
},
}SCSS
$custom: #212f76; $custom-light: #68679e; $custom-dark: #000000;
JSON
{
"hex": "#212f76",
"rgb": {
"r": 33,
"g": 47,
"b": 118
},
"hsl": {
"h": 230.118,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.33989,
"c": 0.12241,
"h": 270.1
},
"luminance": 0.03664
}Semantic roles & 50–950 ramp
primary
#212F76
secondary
#A9994A
accent
#C748E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E