#212576#212576
#212576 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.136 H 273.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #212576 |
|---|---|
| RGB | rgb(33, 37, 118) |
| HSL | hsl(237, 56%, 30%) |
| HSV | hsv(237, 72%, 46%) |
| CMYK | cmyk(72%, 68.6%, 0%, 53.7%) |
| CIE-LAB | lab(19.86, 27.09, -46.84) |
| CIE-LCH | lch(19.86, 54.11, 300.04°) |
| OKLab | oklab(32.02% 0.0085 -0.1353) |
| OKLCH | oklch(32.02% 0.136 273.6) |
| XYZ | xyz(4.5577, 2.9540, 17.4660) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.28
Royal
#0C1793
ΔE00 6.09
Dark Royal Blue
#02066F
ΔE00 7.35
Darkblue (survey)
#030764
ΔE00 7.52
Marine
#042E60
ΔE00 7.91
Deep Blue
#040273
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212576 #767221
analogous
#215076 #212576 #472176
triadic
#212576 #762125 #257621
tetradic
#212576 #762150 #767221 #217647
square
#212576 #762150 #767221 #217647
split-complementary
#212576 #764721 #507621
monochromatic
#070718 #141646 #212576 #2E34A6 #464CCB
Accessibility & contrast
On white
13.20
#212576 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#212576 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212576
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212576 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212576 | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #212576; /* rgb */ color: rgb(33, 37, 118); /* oklch */ color: oklch(32.0% 0.136 273.6);
Tailwind
colors: {
custom: {
50: '#695f9e',
500: '#212576',
950: '#000000',
},
}SCSS
$custom: #212576; $custom-light: #695f9e; $custom-dark: #000000;
JSON
{
"hex": "#212576",
"rgb": {
"r": 33,
"g": 37,
"b": 118
},
"hsl": {
"h": 237.176,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.32021,
"c": 0.13556,
"h": 273.6
},
"luminance": 0.02954
}Semantic roles & 50–950 ramp
primary
#212576
secondary
#A9A54A
accent
#D848E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E