#212379#212379
#212379 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.142 H 273.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #212379 |
|---|---|
| RGB | rgb(33, 35, 121) |
| HSL | hsl(239, 57%, 30%) |
| HSV | hsv(239, 73%, 47%) |
| CMYK | cmyk(72.7%, 71.1%, 0%, 52.5%) |
| CIE-LAB | lab(19.66, 29.53, -49.09) |
| CIE-LCH | lch(19.66, 57.28, 301.03°) |
| OKLab | oklab(31.97% 0.0096 -0.1419) |
| OKLCH | oklch(31.97% 0.142 273.9) |
| XYZ | xyz(4.6783, 2.9054, 18.3997) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.78
Royal
#0C1793
ΔE00 5.23
Dark Royal Blue
#02066F
ΔE00 6.70
Darkblue (survey)
#030764
ΔE00 7.05
Deep Blue
#040273
ΔE00 7.24
Navy
#000080
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212379 #797721
analogous
#214F79 #212379 #4B2179
triadic
#212379 #792123 #237921
tetradic
#212379 #79214F #797721 #21794B
square
#212379 #79214F #797721 #21794B
split-complementary
#212379 #794B21 #4F7921
monochromatic
#070719 #141549 #212379 #2E31A9 #474ACD
Accessibility & contrast
On white
13.28
#212379 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#212379 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212379
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212379 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212379 | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #212379; /* rgb */ color: rgb(33, 35, 121); /* oklch */ color: oklch(32.0% 0.142 273.9);
Tailwind
colors: {
custom: {
50: '#6a5ea1',
500: '#212379',
950: '#000000',
},
}SCSS
$custom: #212379; $custom-light: #6a5ea1; $custom-dark: #000000;
JSON
{
"hex": "#212379",
"rgb": {
"r": 33,
"g": 35,
"b": 121
},
"hsl": {
"h": 238.636,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.31968,
"c": 0.14218,
"h": 273.9
},
"luminance": 0.02906
}Semantic roles & 50–950 ramp
primary
#212379
secondary
#ACAA4A
accent
#DD47E0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F