#201C7E#201C7E
#201C7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.157 H 274.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #201C7E |
|---|---|
| RGB | rgb(32, 28, 126) |
| HSL | hsl(242, 64%, 30%) |
| HSV | hsv(242, 78%, 49%) |
| CMYK | cmyk(74.6%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(18.56, 35.56, -54.10) |
| CIE-LCH | lch(18.56, 64.74, 303.31°) |
| OKLab | oklab(31.32% 0.0116 -0.1565) |
| OKLCH | oklch(31.32% 0.157 274.3) |
| XYZ | xyz(4.7756, 2.6435, 19.9932) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.35
Royal
#0C1793
ΔE00 3.46
Dark Royal Blue
#02066F
ΔE00 5.08
Navy
#000080
ΔE00 5.31
Darkblue
#00008B
ΔE00 5.33
Deep Blue
#040273
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201C7E #7A7E1C
analogous
#1C497E #201C7E #511C7E
triadic
#201C7E #7E201C #1C7E20
tetradic
#201C7E #7E1C49 #7A7E1C #1C7E51
square
#201C7E #7E1C49 #7A7E1C #1C7E51
split-complementary
#201C7E #7E511C #497E1C
monochromatic
#07061A #13114C #201C7E #2D27B0 #4640D5
Accessibility & contrast
On white
13.74
#201C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#201C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201C7E
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201C7E | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #201c7e; /* rgb */ color: rgb(32, 28, 126); /* oklch */ color: oklch(31.3% 0.157 274.3);
Tailwind
colors: {
custom: {
50: '#6c5aa4',
500: '#201c7e',
950: '#000000',
},
}SCSS
$custom: #201c7e; $custom-light: #6c5aa4; $custom-dark: #000000;
JSON
{
"hex": "#201c7e",
"rgb": {
"r": 32,
"g": 28,
"b": 126
},
"hsl": {
"h": 242.449,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.31319,
"c": 0.15691,
"h": 274.3
},
"luminance": 0.02644
}Semantic roles & 50–950 ramp
primary
#201C7E
secondary
#ADB244
accent
#E741E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F