#212475#212475
#212475 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.135 H 274.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #212475 |
|---|---|
| RGB | rgb(33, 36, 117) |
| HSL | hsl(238, 56%, 29%) |
| HSV | hsv(238, 72%, 46%) |
| CMYK | cmyk(71.8%, 69.2%, 0%, 54.1%) |
| CIE-LAB | lab(19.51, 27.38, -46.77) |
| CIE-LCH | lch(19.51, 54.20, 300.35°) |
| OKLab | oklab(31.74% 0.0094 -0.1351) |
| OKLCH | oklch(31.74% 0.135 274) |
| XYZ | xyz(4.4679, 2.8690, 17.1445) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.99
Royal
#0C1793
ΔE00 6.04
Dark Royal Blue
#02066F
ΔE00 7.08
Darkblue (survey)
#030764
ΔE00 7.23
Deep Blue
#040273
ΔE00 7.70
Navy
#000080
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212475 #757221
analogous
#214E75 #212475 #482175
triadic
#212475 #752124 #247521
tetradic
#212475 #75214E #757221 #217548
square
#212475 #75214E #757221 #217548
split-complementary
#212475 #754821 #4E7521
monochromatic
#070718 #141545 #212475 #2E33A5 #464ACB
Accessibility & contrast
On white
13.34
#212475 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#212475 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212475
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212475 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212475 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #212475; /* rgb */ color: rgb(33, 36, 117); /* oklch */ color: oklch(31.7% 0.135 274.0);
Tailwind
colors: {
custom: {
50: '#695f9e',
500: '#212475',
950: '#000000',
},
}SCSS
$custom: #212475; $custom-light: #695f9e; $custom-dark: #000000;
JSON
{
"hex": "#212475",
"rgb": {
"r": 33,
"g": 36,
"b": 117
},
"hsl": {
"h": 237.857,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.31739,
"c": 0.13541,
"h": 274
},
"luminance": 0.02869
}Semantic roles & 50–950 ramp
primary
#212475
secondary
#A8A54A
accent
#DA49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E