#212282#212282
#212282 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.155 H 273.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #212282 |
|---|---|
| RGB | rgb(33, 34, 130) |
| HSL | hsl(239, 60%, 32%) |
| HSV | hsv(239, 75%, 51%) |
| CMYK | cmyk(74.6%, 73.8%, 0%, 49%) |
| CIE-LAB | lab(20.36, 33.44, -53.66) |
| CIE-LCH | lch(20.36, 63.22, 301.93°) |
| OKLab | oklab(32.75% 0.0089 -0.1552) |
| OKLCH | oklch(32.75% 0.155 273.3) |
| XYZ | xyz(5.2271, 3.0786, 21.4335) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.36
Royal
#0C1793
ΔE00 3.81
Darkblue
#00008B
ΔE00 6.54
Dark Royal Blue
#02066F
ΔE00 6.57
Navy
#000080
ΔE00 6.71
Cobalt Blue
#030AA7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212282 #828121
analogous
#215382 #212282 #502182
triadic
#212282 #822122 #228221
tetradic
#212282 #822153 #828121 #218250
square
#212282 #822153 #828121 #218250
split-complementary
#212282 #825021 #538221
monochromatic
#080820 #151551 #212282 #2D2FB3 #4C4DD2
Accessibility & contrast
On white
13.00
#212282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#212282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212282
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212282 | 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)
#003685
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #212282; /* rgb */ color: rgb(33, 34, 130); /* oklch */ color: oklch(32.7% 0.155 273.3);
Tailwind
colors: {
custom: {
50: '#6d5ea7',
500: '#212282',
950: '#000000',
},
}SCSS
$custom: #212282; $custom-light: #6d5ea7; $custom-dark: #000000;
JSON
{
"hex": "#212282",
"rgb": {
"r": 33,
"g": 34,
"b": 130
},
"hsl": {
"h": 239.381,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.32748,
"c": 0.15546,
"h": 273.3
},
"luminance": 0.03079
}Semantic roles & 50–950 ramp
primary
#212282
secondary
#B4B34A
accent
#E145E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F