#212F86#212F86
#212F86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.145 H 270.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #212F86 |
|---|---|
| RGB | rgb(33, 47, 134) |
| HSL | hsl(232, 60%, 33%) |
| HSV | hsv(232, 75%, 53%) |
| CMYK | cmyk(75.4%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(23.92, 26.39, -50.32) |
| CIE-LCH | lch(23.92, 56.82, 297.68°) |
| OKLab | oklab(35.46% 0.0001 -0.1454) |
| OKLCH | oklch(35.46% 0.145 270) |
| XYZ | xyz(5.9453, 4.0770, 23.0232) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.67
Midnight Blue
#191970
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 6.62
Royal
#0C1793
ΔE00 6.81
Blueberry
#464196
ΔE00 6.81
Marine
#042E60
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F86 #867821
analogous
#216186 #212F86 #452186
triadic
#212F86 #86212F #2F8621
tetradic
#212F86 #862161 #867821 #218645
square
#212F86 #862161 #867821 #218645
split-complementary
#212F86 #864521 #618621
monochromatic
#090D24 #151E55 #212F86 #2D40B7 #4E60D3
Accessibility & contrast
On white
11.57
#212F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#212F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F86
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F86 | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212f86; /* rgb */ color: rgb(33, 47, 134); /* oklch */ color: oklch(35.5% 0.145 270.0);
Tailwind
colors: {
custom: {
50: '#6c67aa',
500: '#212f86',
950: '#000000',
},
}SCSS
$custom: #212f86; $custom-light: #6c67aa; $custom-dark: #000000;
JSON
{
"hex": "#212f86",
"rgb": {
"r": 33,
"g": 47,
"b": 134
},
"hsl": {
"h": 231.683,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.35459,
"c": 0.14539,
"h": 270
},
"luminance": 0.04078
}Semantic roles & 50–950 ramp
primary
#212F86
secondary
#B7A84C
accent
#CE44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F