#212186#212186
#212186 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.162 H 273.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #212186 |
|---|---|
| RGB | rgb(33, 33, 134) |
| HSL | hsl(240, 60%, 33%) |
| HSV | hsv(240, 75%, 53%) |
| CMYK | cmyk(75.4%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.56, 35.47, -55.84) |
| CIE-LCH | lch(20.56, 66.15, 302.43°) |
| OKLab | oklab(33.03% 0.0088 -0.1615) |
| OKLCH | oklch(33.03% 0.162 273.1) |
| XYZ | xyz(5.4727, 3.1317, 22.8657) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.15
Midnight Blue
#191970
ΔE00 3.75
Cobalt Blue
#030AA7
ΔE00 6.01
Darkblue
#00008B
ΔE00 6.07
Indigo (survey)
#380282
ΔE00 6.37
Navy
#000080
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212186 #868621
analogous
#215386 #212186 #532186
triadic
#212186 #862121 #218621
tetradic
#212186 #862153 #868621 #218653
square
#212186 #862153 #868621 #218653
split-complementary
#212186 #865321 #538621
monochromatic
#090924 #151555 #212186 #2D2DB7 #4E4ED3
Accessibility & contrast
On white
12.91
#212186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#212186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212186
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212186 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #212186; /* rgb */ color: rgb(33, 33, 134); /* oklch */ color: oklch(33.0% 0.162 273.1);
Tailwind
colors: {
custom: {
50: '#6e5daa',
500: '#212186',
950: '#000000',
},
}SCSS
$custom: #212186; $custom-light: #6e5daa; $custom-dark: #000000;
JSON
{
"hex": "#212186",
"rgb": {
"r": 33,
"g": 33,
"b": 134
},
"hsl": {
"h": 240,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.33025,
"c": 0.16179,
"h": 273.1
},
"luminance": 0.03132
}Semantic roles & 50–950 ramp
primary
#212186
secondary
#B7B74C
accent
#E444E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F