#212086#212086
#212086 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.163 H 273.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #212086 |
|---|---|
| RGB | rgb(33, 32, 134) |
| HSL | hsl(241, 61%, 33%) |
| HSV | hsv(241, 76%, 53%) |
| CMYK | cmyk(75.4%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.35, 36.07, -56.19) |
| CIE-LCH | lch(20.35, 66.77, 302.70°) |
| OKLab | oklab(32.87% 0.0093 -0.1626) |
| OKLCH | oklch(32.87% 0.163 273.3) |
| XYZ | xyz(5.4453, 3.0770, 22.8566) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.97
Midnight Blue
#191970
ΔE00 3.67
Darkblue
#00008B
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 5.84
Indigo (survey)
#380282
ΔE00 6.13
Navy
#000080
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212086 #858620
analogous
#205286 #212086 #542086
triadic
#212086 #862120 #208621
tetradic
#212086 #862052 #858620 #208654
square
#212086 #862052 #858620 #208654
split-complementary
#212086 #865420 #528620
monochromatic
#090823 #151455 #212086 #2D2CB7 #4D4CD4
Accessibility & contrast
On white
13.00
#212086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#212086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212086
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212086 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #212086; /* rgb */ color: rgb(33, 32, 134); /* oklch */ color: oklch(32.9% 0.163 273.3);
Tailwind
colors: {
custom: {
50: '#6e5daa',
500: '#212086',
950: '#000000',
},
}SCSS
$custom: #212086; $custom-light: #6e5daa; $custom-dark: #000000;
JSON
{
"hex": "#212086",
"rgb": {
"r": 33,
"g": 32,
"b": 134
},
"hsl": {
"h": 240.588,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.32872,
"c": 0.16284,
"h": 273.3
},
"luminance": 0.03078
}Semantic roles & 50–950 ramp
primary
#212086
secondary
#B6B74B
accent
#E543E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F