#201978#201978
#201978 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.152 H 275.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #201978 |
|---|---|
| RGB | rgb(32, 25, 120) |
| HSL | hsl(244, 66%, 28%) |
| HSV | hsv(244, 79%, 47%) |
| CMYK | cmyk(73.3%, 79.2%, 0%, 52.9%) |
| CIE-LAB | lab(17.26, 35.23, -52.40) |
| CIE-LCH | lch(17.26, 63.14, 303.91°) |
| OKLab | oklab(30.21% 0.0146 -0.1515) |
| OKLCH | oklch(30.21% 0.152 275.5) |
| XYZ | xyz(4.3323, 2.3580, 17.9925) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.57
Royal
#0C1793
ΔE00 4.17
Dark Royal Blue
#02066F
ΔE00 4.27
Deep Blue
#040273
ΔE00 4.67
Navy
#000080
ΔE00 4.92
Darkblue (survey)
#030764
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201978 #717819
analogous
#194178 #201978 #4F1978
triadic
#201978 #782019 #197820
tetradic
#201978 #781941 #717819 #19784F
square
#201978 #781941 #717819 #19784F
split-complementary
#201978 #784F19 #417819
monochromatic
#070519 #120E45 #201978 #2E24AB #4236D5
Accessibility & contrast
On white
14.27
#201978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#201978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201978
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201978 | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #201978; /* rgb */ color: rgb(32, 25, 120); /* oklch */ color: oklch(30.2% 0.152 275.5);
Tailwind
colors: {
custom: {
50: '#6b58a0',
500: '#201978',
950: '#000000',
},
}SCSS
$custom: #201978; $custom-light: #6b58a0; $custom-dark: #000000;
JSON
{
"hex": "#201978",
"rgb": {
"r": 32,
"g": 25,
"b": 120
},
"hsl": {
"h": 244.421,
"s": 65.517,
"l": 28.431
},
"oklch": {
"l": 0.30207,
"c": 0.1522,
"h": 275.5
},
"luminance": 0.02358
}Semantic roles & 50–950 ramp
primary
#201978
secondary
#A5AD40
accent
#E83FDC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F