#212F96#212F96
#212F96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.167 H 269.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #212F96 |
|---|---|
| RGB | rgb(33, 47, 150) |
| HSL | hsl(233, 64%, 36%) |
| HSV | hsv(233, 78%, 59%) |
| CMYK | cmyk(78%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.44, 32.44, -57.76) |
| CIE-LCH | lch(25.44, 66.24, 299.32°) |
| OKLab | oklab(37.03% -0.0009 -0.1672) |
| OKLCH | oklch(37.03% 0.167 269.7) |
| XYZ | xyz(7.1468, 4.5576, 29.3513) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.69
Royal
#0C1793
ΔE00 5.91
Blueberry
#464196
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 7.28
Midnight Blue
#191970
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F96 #968821
analogous
#216996 #212F96 #4E2196
triadic
#212F96 #96212F #2F9621
tetradic
#212F96 #962169 #968821 #21964E
square
#212F96 #962169 #968821 #21964E
split-complementary
#212F96 #964E21 #699621
monochromatic
#0B1032 #161F64 #212F96 #2C3FC8 #5767DA
Accessibility & contrast
On white
10.99
#212F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#212F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F96
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F96 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212f96; /* rgb */ color: rgb(33, 47, 150); /* oklch */ color: oklch(37.0% 0.167 269.7);
Tailwind
colors: {
custom: {
50: '#7067b6',
500: '#212f96',
950: '#000000',
},
}SCSS
$custom: #212f96; $custom-light: #7067b6; $custom-dark: #000000;
JSON
{
"hex": "#212f96",
"rgb": {
"r": 33,
"g": 47,
"b": 150
},
"hsl": {
"h": 232.821,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.37028,
"c": 0.16716,
"h": 269.7
},
"luminance": 0.04558
}Semantic roles & 50–950 ramp
primary
#212F96
secondary
#BEB155
accent
#D341E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80