#212F85#212F85
#212F85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.144 H 270.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #212F85 |
|---|---|
| RGB | rgb(33, 47, 133) |
| HSL | hsl(232, 60%, 33%) |
| HSV | hsv(232, 75%, 52%) |
| CMYK | cmyk(75.2%, 64.7%, 0%, 47.8%) |
| CIE-LAB | lab(23.83, 26.01, -49.84) |
| CIE-LCH | lch(23.83, 56.22, 297.56°) |
| OKLab | oklab(35.36% 0.0001 -0.144) |
| OKLCH | oklch(35.36% 0.144 270.1) |
| XYZ | xyz(5.8759, 4.0492, 22.6577) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.81
Midnight Blue
#191970
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.63
Blueberry
#464196
ΔE00 6.86
Royal
#0C1793
ΔE00 6.90
Marine
#042E60
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F85 #857721
analogous
#216185 #212F85 #452185
triadic
#212F85 #85212F #2F8521
tetradic
#212F85 #852161 #857721 #218545
square
#212F85 #852161 #857721 #218545
split-complementary
#212F85 #854521 #618521
monochromatic
#090C23 #151E54 #212F85 #2D40B6 #4D60D3
Accessibility & contrast
On white
11.60
#212F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#212F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F85
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F85 | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212f85; /* rgb */ color: rgb(33, 47, 133); /* oklch */ color: oklch(35.4% 0.144 270.1);
Tailwind
colors: {
custom: {
50: '#6c67a9',
500: '#212f85',
950: '#000000',
},
}SCSS
$custom: #212f85; $custom-light: #6c67a9; $custom-dark: #000000;
JSON
{
"hex": "#212f85",
"rgb": {
"r": 33,
"g": 47,
"b": 133
},
"hsl": {
"h": 231.6,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.35364,
"c": 0.14399,
"h": 270.1
},
"luminance": 0.0405
}Semantic roles & 50–950 ramp
primary
#212F85
secondary
#B6A74C
accent
#CD44E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F