#212185#212185
#212185 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.160 H 273.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #212185 |
|---|---|
| RGB | rgb(33, 33, 133) |
| HSL | hsl(240, 60%, 33%) |
| HSV | hsv(240, 75%, 52%) |
| CMYK | cmyk(75.2%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.46, 35.12, -55.39) |
| CIE-LCH | lch(20.46, 65.58, 302.38°) |
| OKLab | oklab(32.92% 0.0089 -0.1602) |
| OKLCH | oklch(32.92% 0.16 273.2) |
| XYZ | xyz(5.4033, 3.1040, 22.5001) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.26
Midnight Blue
#191970
ΔE00 3.62
Darkblue
#00008B
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.14
Indigo (survey)
#380282
ΔE00 6.39
Navy
#000080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212185 #858521
analogous
#215385 #212185 #532185
triadic
#212185 #852121 #218521
tetradic
#212185 #852153 #858521 #218553
square
#212185 #852153 #858521 #218553
split-complementary
#212185 #855321 #538521
monochromatic
#090923 #151554 #212185 #2D2DB6 #4D4DD3
Accessibility & contrast
On white
12.95
#212185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#212185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212185
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212185 | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #212185; /* rgb */ color: rgb(33, 33, 133); /* oklch */ color: oklch(32.9% 0.160 273.2);
Tailwind
colors: {
custom: {
50: '#6d5daa',
500: '#212185',
950: '#000000',
},
}SCSS
$custom: #212185; $custom-light: #6d5daa; $custom-dark: #000000;
JSON
{
"hex": "#212185",
"rgb": {
"r": 33,
"g": 33,
"b": 133
},
"hsl": {
"h": 240,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.32915,
"c": 0.16049,
"h": 273.2
},
"luminance": 0.03105
}Semantic roles & 50–950 ramp
primary
#212185
secondary
#B6B64C
accent
#E344E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F