#212C86#212C86
#212C86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.149 H 270.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #212C86 |
|---|---|
| RGB | rgb(33, 44, 134) |
| HSL | hsl(233, 60%, 33%) |
| HSV | hsv(233, 75%, 53%) |
| CMYK | cmyk(75.4%, 67.2%, 0%, 47.5%) |
| CIE-LAB | lab(23.15, 28.42, -51.58) |
| CIE-LCH | lch(23.15, 58.89, 298.85°) |
| OKLab | oklab(34.89% 0.0022 -0.1491) |
| OKLCH | oklch(34.89% 0.149 270.8) |
| XYZ | xyz(5.8295, 3.8453, 22.9846) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.72
Royal
#0C1793
ΔE00 5.90
Sapphire (survey)
#2138AB
ΔE00 5.98
Darkslateblue
#483D8B
ΔE00 6.95
Blueberry
#464196
ΔE00 7.28
Marine
#042E60
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C86 #867B21
analogous
#215F86 #212C86 #482186
triadic
#212C86 #86212C #2C8621
tetradic
#212C86 #86215F #867B21 #218648
square
#212C86 #86215F #867B21 #218648
split-complementary
#212C86 #864821 #5F8621
monochromatic
#090C24 #151C55 #212C86 #2D3CB7 #4E5DD3
Accessibility & contrast
On white
11.87
#212C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#212C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C86
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C86 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #212c86; /* rgb */ color: rgb(33, 44, 134); /* oklch */ color: oklch(34.9% 0.149 270.8);
Tailwind
colors: {
custom: {
50: '#6d65aa',
500: '#212c86',
950: '#000000',
},
}SCSS
$custom: #212c86; $custom-light: #6d65aa; $custom-dark: #000000;
JSON
{
"hex": "#212c86",
"rgb": {
"r": 33,
"g": 44,
"b": 134
},
"hsl": {
"h": 233.465,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.34894,
"c": 0.14914,
"h": 270.8
},
"luminance": 0.03846
}Semantic roles & 50–950 ramp
primary
#212C86
secondary
#B7AB4C
accent
#D244E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F