#201E7E#201E7E
#201E7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.155 H 273.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #201E7E |
|---|---|
| RGB | rgb(32, 30, 126) |
| HSL | hsl(241, 62%, 31%) |
| HSV | hsv(241, 76%, 49%) |
| CMYK | cmyk(74.6%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(18.98, 34.37, -53.40) |
| CIE-LCH | lch(18.98, 63.50, 302.76°) |
| OKLab | oklab(31.62% 0.0106 -0.1545) |
| OKLCH | oklch(31.62% 0.155 273.9) |
| XYZ | xyz(4.8246, 2.7415, 20.0095) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Royal
#0C1793
ΔE00 3.68
Dark Royal Blue
#02066F
ΔE00 5.50
Navy
#000080
ΔE00 5.79
Darkblue
#00008B
ΔE00 5.80
Deep Blue
#040273
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201E7E #7C7E1E
analogous
#1E4C7E #201E7E #501E7E
triadic
#201E7E #7E201E #1E7E20
tetradic
#201E7E #7E1E4C #7C7E1E #1E7E50
square
#201E7E #7E1E4C #7C7E1E #1E7E50
split-complementary
#201E7E #7E501E #4C7E1E
monochromatic
#07061B #13124D #201E7E #2D2AAF #4744D2
Accessibility & contrast
On white
13.56
#201E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#201E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201E7E
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201E7E | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #201e7e; /* rgb */ color: rgb(32, 30, 126); /* oklch */ color: oklch(31.6% 0.155 273.9);
Tailwind
colors: {
custom: {
50: '#6c5ba4',
500: '#201e7e',
950: '#000000',
},
}SCSS
$custom: #201e7e; $custom-light: #6c5ba4; $custom-dark: #000000;
JSON
{
"hex": "#201e7e",
"rgb": {
"r": 32,
"g": 30,
"b": 126
},
"hsl": {
"h": 241.25,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.31618,
"c": 0.15482,
"h": 273.9
},
"luminance": 0.02742
}Semantic roles & 50–950 ramp
primary
#201E7E
secondary
#AFB147
accent
#E543E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F