#212286#212286
#212286 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.161 H 272.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #212286 |
|---|---|
| RGB | rgb(33, 34, 134) |
| HSL | hsl(239, 60%, 33%) |
| HSV | hsv(239, 75%, 53%) |
| CMYK | cmyk(75.4%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(20.78, 34.86, -55.48) |
| CIE-LCH | lch(20.78, 65.52, 302.15°) |
| OKLab | oklab(33.18% 0.0082 -0.1605) |
| OKLCH | oklch(33.18% 0.161 272.9) |
| XYZ | xyz(5.5009, 3.1881, 22.8751) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 3.85
Cobalt Blue
#030AA7
ΔE00 6.19
Darkblue
#00008B
ΔE00 6.33
Indigo (survey)
#380282
ΔE00 6.62
Navy
#000080
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212286 #868521
analogous
#215486 #212286 #522186
triadic
#212286 #862122 #228621
tetradic
#212286 #862154 #868521 #218652
square
#212286 #862154 #868521 #218652
split-complementary
#212286 #865221 #548621
monochromatic
#090924 #151655 #212286 #2D2EB7 #4E4FD3
Accessibility & contrast
On white
12.82
#212286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#212286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212286
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212286 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #212286; /* rgb */ color: rgb(33, 34, 134); /* oklch */ color: oklch(33.2% 0.161 272.9);
Tailwind
colors: {
custom: {
50: '#6e5eaa',
500: '#212286',
950: '#000000',
},
}SCSS
$custom: #212286; $custom-light: #6e5eaa; $custom-dark: #000000;
JSON
{
"hex": "#212286",
"rgb": {
"r": 33,
"g": 34,
"b": 134
},
"hsl": {
"h": 239.406,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.3318,
"c": 0.16072,
"h": 272.9
},
"luminance": 0.03189
}Semantic roles & 50–950 ramp
primary
#212286
secondary
#B7B64C
accent
#E244E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F