#212F95#212F95
#212F95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.166 H 269.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #212F95 |
|---|---|
| RGB | rgb(33, 47, 149) |
| HSL | hsl(233, 64%, 36%) |
| HSV | hsv(233, 78%, 58%) |
| CMYK | cmyk(77.9%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.34, 32.07, -57.30) |
| CIE-LCH | lch(25.34, 65.66, 299.23°) |
| OKLab | oklab(36.93% -0.0008 -0.1658) |
| OKLCH | oklch(36.93% 0.166 269.7) |
| XYZ | xyz(7.0667, 4.5255, 28.9290) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.80
Royal
#0C1793
ΔE00 5.94
Blueberry
#464196
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 7.39
Midnight Blue
#191970
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F95 #958721
analogous
#216995 #212F95 #4D2195
triadic
#212F95 #95212F #2F9521
tetradic
#212F95 #952169 #958721 #21954D
square
#212F95 #952169 #958721 #21954D
split-complementary
#212F95 #954D21 #699521
monochromatic
#0B0F31 #161F63 #212F95 #2C3FC7 #5766DA
Accessibility & contrast
On white
11.02
#212F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#212F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F95
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F95 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212f95; /* rgb */ color: rgb(33, 47, 149); /* oklch */ color: oklch(36.9% 0.166 269.7);
Tailwind
colors: {
custom: {
50: '#7067b5',
500: '#212f95',
950: '#000000',
},
}SCSS
$custom: #212f95; $custom-light: #7067b5; $custom-dark: #000000;
JSON
{
"hex": "#212f95",
"rgb": {
"r": 33,
"g": 47,
"b": 149
},
"hsl": {
"h": 232.759,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.36927,
"c": 0.16584,
"h": 269.7
},
"luminance": 0.04526
}Semantic roles & 50–950 ramp
primary
#212F95
secondary
#BEB154
accent
#D341E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80