#212079#212079
#212079 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.146 H 274.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #212079 |
|---|---|
| RGB | rgb(33, 32, 121) |
| HSL | hsl(241, 58%, 30%) |
| HSV | hsv(241, 74%, 47%) |
| CMYK | cmyk(72.7%, 73.6%, 0%, 52.5%) |
| CIE-LAB | lab(18.96, 31.46, -50.25) |
| CIE-LCH | lch(18.96, 59.28, 302.05°) |
| OKLab | oklab(31.46% 0.0116 -0.1452) |
| OKLCH | oklch(31.46% 0.146 274.6) |
| XYZ | xyz(4.5938, 2.7364, 18.3715) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.14
Royal
#0C1793
ΔE00 4.71
Dark Royal Blue
#02066F
ΔE00 5.90
Darkblue (survey)
#030764
ΔE00 6.34
Deep Blue
#040273
ΔE00 6.40
Navy
#000080
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212079 #787920
analogous
#204C79 #212079 #4D2079
triadic
#212079 #792120 #207921
tetradic
#212079 #79204C #787920 #20794D
square
#212079 #79204C #787920 #20794D
split-complementary
#212079 #794D20 #4C7920
monochromatic
#070618 #141349 #212079 #2E2DA9 #4745CE
Accessibility & contrast
On white
13.57
#212079 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#212079 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212079
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212079 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212079 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #212079; /* rgb */ color: rgb(33, 32, 121); /* oklch */ color: oklch(31.5% 0.146 274.6);
Tailwind
colors: {
custom: {
50: '#6b5ca1',
500: '#212079',
950: '#000000',
},
}SCSS
$custom: #212079; $custom-light: #6b5ca1; $custom-dark: #000000;
JSON
{
"hex": "#212079",
"rgb": {
"r": 33,
"g": 32,
"b": 121
},
"hsl": {
"h": 240.674,
"s": 58.17,
"l": 30
},
"oklch": {
"l": 0.3146,
"c": 0.14571,
"h": 274.6
},
"luminance": 0.02737
}Semantic roles & 50–950 ramp
primary
#212079
secondary
#ABAC49
accent
#E146E0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F