#1E1589#1E1589
#1E1589 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.177 H 272.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1589 |
|---|---|
| RGB | rgb(30, 21, 137) |
| HSL | hsl(245, 73%, 31%) |
| HSV | hsv(245, 85%, 54%) |
| CMYK | cmyk(78.1%, 84.7%, 0%, 46.3%) |
| CIE-LAB | lab(18.44, 42.77, -61.24) |
| CIE-LCH | lch(18.44, 74.69, 304.93°) |
| OKLab | oklab(31.59% 0.009 -0.1771) |
| OKLCH | oklch(31.59% 0.177 272.9) |
| XYZ | xyz(5.3174, 2.6179, 23.8871) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.75
Darkblue
#00008B
ΔE00 3.37
Navy
#000080
ΔE00 3.90
Cobalt Blue
#030AA7
ΔE00 4.20
Midnight Blue
#191970
ΔE00 4.24
Indigo (survey)
#380282
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1589 #808915
analogous
#154689 #1E1589 #581589
triadic
#1E1589 #891E15 #15891E
tetradic
#1E1589 #891546 #808915 #158958
square
#1E1589 #891546 #808915 #158958
split-complementary
#1E1589 #895815 #468915
monochromatic
#07051F #120D54 #1E1589 #2A1DBE #4538E0
Accessibility & contrast
On white
13.78
#1E1589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1E1589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1589
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1589 | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1589; /* rgb */ color: rgb(30, 21, 137); /* oklch */ color: oklch(31.6% 0.177 272.9);
Tailwind
colors: {
custom: {
50: '#6f57ad',
500: '#1e1589',
950: '#000000',
},
}SCSS
$custom: #1e1589; $custom-light: #6f57ad; $custom-dark: #000000;
JSON
{
"hex": "#1e1589",
"rgb": {
"r": 30,
"g": 21,
"b": 137
},
"hsl": {
"h": 244.655,
"s": 73.418,
"l": 30.98
},
"oklch": {
"l": 0.31588,
"c": 0.17737,
"h": 272.9
},
"luminance": 0.02618
}Semantic roles & 50–950 ramp
primary
#1E1589
secondary
#B3BD3D
accent
#F038E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F