#1E1578#1E1578
#1E1578 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.157 H 275.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1578 |
|---|---|
| RGB | rgb(30, 21, 120) |
| HSL | hsl(245, 70%, 28%) |
| HSV | hsv(245, 83%, 47%) |
| CMYK | cmyk(75%, 82.5%, 0%, 52.9%) |
| CIE-LAB | lab(16.35, 37.25, -53.92) |
| CIE-LCH | lch(16.35, 65.54, 304.63°) |
| OKLab | oklab(29.52% 0.0137 -0.1559) |
| OKLCH | oklch(29.52% 0.157 275) |
| XYZ | xyz(4.1926, 2.1680, 17.9632) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.98
Dark Royal Blue
#02066F
ΔE00 3.47
Deep Blue
#040273
ΔE00 3.79
Navy
#000080
ΔE00 4.04
Royal
#0C1793
ΔE00 4.06
Darkblue (survey)
#030764
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1578 #6F7815
analogous
#153D78 #1E1578 #501578
triadic
#1E1578 #781E15 #15781E
tetradic
#1E1578 #78153D #6F7815 #157850
square
#1E1578 #78153D #6F7815 #157850
split-complementary
#1E1578 #785015 #3D7815
monochromatic
#07051A #110C44 #1E1578 #2B1EAC #3D2DDA
Accessibility & contrast
On white
14.65
#1E1578 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1E1578 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1578
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1578 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1578 | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1e1578; /* rgb */ color: rgb(30, 21, 120); /* oklch */ color: oklch(29.5% 0.157 275.0);
Tailwind
colors: {
custom: {
50: '#6a55a0',
500: '#1e1578',
950: '#000000',
},
}SCSS
$custom: #1e1578; $custom-light: #6a55a0; $custom-dark: #000000;
JSON
{
"hex": "#1e1578",
"rgb": {
"r": 30,
"g": 21,
"b": 120
},
"hsl": {
"h": 245.455,
"s": 70.213,
"l": 27.647
},
"oklch": {
"l": 0.29524,
"c": 0.15653,
"h": 275
},
"luminance": 0.02168
}Semantic roles & 50–950 ramp
primary
#1E1578
secondary
#A3AE3B
accent
#ED3BDD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F