#212285#212285
#212285 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.159 H 273.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #212285 |
|---|---|
| RGB | rgb(33, 34, 133) |
| HSL | hsl(239, 60%, 33%) |
| HSV | hsv(239, 75%, 52%) |
| CMYK | cmyk(75.2%, 74.4%, 0%, 47.8%) |
| CIE-LAB | lab(20.67, 34.51, -55.03) |
| CIE-LCH | lch(20.67, 64.95, 302.09°) |
| OKLab | oklab(33.07% 0.0084 -0.1592) |
| OKLCH | oklch(33.07% 0.159 273) |
| XYZ | xyz(5.4314, 3.1603, 22.5095) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.46
Midnight Blue
#191970
ΔE00 3.72
Cobalt Blue
#030AA7
ΔE00 6.32
Darkblue
#00008B
ΔE00 6.37
Indigo (survey)
#380282
ΔE00 6.64
Navy
#000080
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212285 #858421
analogous
#215485 #212285 #522185
triadic
#212285 #852122 #228521
tetradic
#212285 #852154 #858421 #218552
square
#212285 #852154 #858421 #218552
split-complementary
#212285 #855221 #548521
monochromatic
#090923 #151554 #212285 #2D2FB6 #4D4FD3
Accessibility & contrast
On white
12.87
#212285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#212285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212285
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212285 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #212285; /* rgb */ color: rgb(33, 34, 133); /* oklch */ color: oklch(33.1% 0.159 273.0);
Tailwind
colors: {
custom: {
50: '#6d5eaa',
500: '#212285',
950: '#000000',
},
}SCSS
$custom: #212285; $custom-light: #6d5eaa; $custom-dark: #000000;
JSON
{
"hex": "#212285",
"rgb": {
"r": 33,
"g": 34,
"b": 133
},
"hsl": {
"h": 239.4,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.33071,
"c": 0.15941,
"h": 273
},
"luminance": 0.03161
}Semantic roles & 50–950 ramp
primary
#212285
secondary
#B6B54C
accent
#E244E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F