#212479#212479
#212479 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.141 H 273.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #212479 |
|---|---|
| RGB | rgb(33, 36, 121) |
| HSL | hsl(238, 57%, 30%) |
| HSV | hsv(238, 73%, 47%) |
| CMYK | cmyk(72.7%, 70.2%, 0%, 52.5%) |
| CIE-LAB | lab(19.90, 28.87, -48.69) |
| CIE-LCH | lch(19.90, 56.61, 300.67°) |
| OKLab | oklab(32.14% 0.0089 -0.1407) |
| OKLCH | oklch(32.14% 0.141 273.6) |
| XYZ | xyz(4.7081, 2.9651, 18.4097) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.04
Royal
#0C1793
ΔE00 5.43
Dark Royal Blue
#02066F
ΔE00 6.98
Darkblue (survey)
#030764
ΔE00 7.30
Deep Blue
#040273
ΔE00 7.53
Navy
#000080
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212479 #797621
analogous
#215079 #212479 #4A2179
triadic
#212479 #792124 #247921
tetradic
#212479 #792150 #797621 #21794A
square
#212479 #792150 #797621 #21794A
split-complementary
#212479 #794A21 #507921
monochromatic
#070719 #141649 #212479 #2E32A9 #474CCD
Accessibility & contrast
On white
13.18
#212479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#212479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212479
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212479 | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #212479; /* rgb */ color: rgb(33, 36, 121); /* oklch */ color: oklch(32.1% 0.141 273.6);
Tailwind
colors: {
custom: {
50: '#6a5fa1',
500: '#212479',
950: '#000000',
},
}SCSS
$custom: #212479; $custom-light: #6a5fa1; $custom-dark: #000000;
JSON
{
"hex": "#212479",
"rgb": {
"r": 33,
"g": 36,
"b": 121
},
"hsl": {
"h": 237.955,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.32143,
"c": 0.14098,
"h": 273.6
},
"luminance": 0.02966
}Semantic roles & 50–950 ramp
primary
#212479
secondary
#ACA94A
accent
#DB47E0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F