#212486#212486
#212486 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.159 H 272.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #212486 |
|---|---|
| RGB | rgb(33, 36, 134) |
| HSL | hsl(238, 60%, 33%) |
| HSV | hsv(238, 75%, 53%) |
| CMYK | cmyk(75.4%, 73.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.23, 33.62, -54.74) |
| CIE-LCH | lch(21.23, 64.24, 301.56°) |
| OKLab | oklab(33.5% 0.0071 -0.1584) |
| OKLCH | oklch(33.5% 0.159 272.6) |
| XYZ | xyz(5.5597, 3.3057, 22.8947) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.79
Midnight Blue
#191970
ΔE00 4.09
Cobalt Blue
#030AA7
ΔE00 6.57
Darkblue
#00008B
ΔE00 6.85
Indigo (survey)
#380282
ΔE00 7.13
Navy
#000080
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212486 #868321
analogous
#215686 #212486 #512186
triadic
#212486 #862124 #248621
tetradic
#212486 #862156 #868321 #218651
square
#212486 #862156 #868321 #218651
split-complementary
#212486 #865121 #568621
monochromatic
#090A24 #151755 #212486 #2D31B7 #4E52D3
Accessibility & contrast
On white
12.64
#212486 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#212486 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212486
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212486 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212486 | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #212486; /* rgb */ color: rgb(33, 36, 134); /* oklch */ color: oklch(33.5% 0.159 272.6);
Tailwind
colors: {
custom: {
50: '#6d5faa',
500: '#212486',
950: '#000000',
},
}SCSS
$custom: #212486; $custom-light: #6d5faa; $custom-dark: #000000;
JSON
{
"hex": "#212486",
"rgb": {
"r": 33,
"g": 36,
"b": 134
},
"hsl": {
"h": 238.218,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.335,
"c": 0.15853,
"h": 272.6
},
"luminance": 0.03306
}Semantic roles & 50–950 ramp
primary
#212486
secondary
#B7B34C
accent
#DF44E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F