#1E1789#1E1789
#1E1789 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.176 H 272.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1789 |
|---|---|
| RGB | rgb(30, 23, 137) |
| HSL | hsl(244, 71%, 31%) |
| HSV | hsv(244, 83%, 54%) |
| CMYK | cmyk(78.1%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(18.78, 41.79, -60.69) |
| CIE-LCH | lch(18.78, 73.68, 304.55°) |
| OKLab | oklab(31.82% 0.0084 -0.1756) |
| OKLCH | oklch(31.82% 0.176 272.7) |
| XYZ | xyz(5.3557, 2.6944, 23.8999) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.68
Darkblue
#00008B
ΔE00 3.73
Midnight Blue
#191970
ΔE00 4.10
Navy
#000080
ΔE00 4.24
Cobalt Blue
#030AA7
ΔE00 4.34
Indigo (survey)
#380282
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1789 #828917
analogous
#174989 #1E1789 #571789
triadic
#1E1789 #891E17 #17891E
tetradic
#1E1789 #891749 #828917 #178957
square
#1E1789 #891749 #828917 #178957
split-complementary
#1E1789 #895717 #498917
monochromatic
#070520 #130E55 #1E1789 #2920BD #463CDE
Accessibility & contrast
On white
13.65
#1E1789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1E1789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1789
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1789 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e1789; /* rgb */ color: rgb(30, 23, 137); /* oklch */ color: oklch(31.8% 0.176 272.7);
Tailwind
colors: {
custom: {
50: '#6e58ad',
500: '#1e1789',
950: '#000000',
},
}SCSS
$custom: #1e1789; $custom-light: #6e58ad; $custom-dark: #000000;
JSON
{
"hex": "#1e1789",
"rgb": {
"r": 30,
"g": 23,
"b": 137
},
"hsl": {
"h": 243.684,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.31818,
"c": 0.17578,
"h": 272.7
},
"luminance": 0.02695
}Semantic roles & 50–950 ramp
primary
#1E1789
secondary
#B5BD3F
accent
#EE3AE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F