#212476#212476
#212476 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.137 H 273.9°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #212476 |
|---|---|
| RGB | rgb(33, 36, 118) |
| HSL | hsl(238, 56%, 30%) |
| HSV | hsv(238, 72%, 46%) |
| CMYK | cmyk(72%, 69.5%, 0%, 53.7%) |
| CIE-LAB | lab(19.61, 27.76, -47.25) |
| CIE-LCH | lch(19.61, 54.80, 300.43°) |
| OKLab | oklab(31.84% 0.0093 -0.1365) |
| OKLCH | oklch(31.84% 0.137 273.9) |
| XYZ | xyz(4.5270, 2.8927, 17.4558) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.99
Royal
#0C1793
ΔE00 5.88
Dark Royal Blue
#02066F
ΔE00 7.05
Darkblue (survey)
#030764
ΔE00 7.24
Deep Blue
#040273
ΔE00 7.65
Navy
#000080
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212476 #767321
analogous
#214F76 #212476 #482176
triadic
#212476 #762124 #247621
tetradic
#212476 #76214F #767321 #217648
square
#212476 #76214F #767321 #217648
split-complementary
#212476 #764821 #4F7621
monochromatic
#070718 #141546 #212476 #2E33A6 #464BCB
Accessibility & contrast
On white
13.30
#212476 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#212476 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212476
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212476 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212476 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #212476; /* rgb */ color: rgb(33, 36, 118); /* oklch */ color: oklch(31.8% 0.137 273.9);
Tailwind
colors: {
custom: {
50: '#695f9e',
500: '#212476',
950: '#000000',
},
}SCSS
$custom: #212476; $custom-light: #695f9e; $custom-dark: #000000;
JSON
{
"hex": "#212476",
"rgb": {
"r": 33,
"g": 36,
"b": 118
},
"hsl": {
"h": 237.882,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.31839,
"c": 0.13681,
"h": 273.9
},
"luminance": 0.02893
}Semantic roles & 50–950 ramp
primary
#212476
secondary
#A9A64A
accent
#DA48E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E