#1E1B87#1E1B87
#1E1B87 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.170 H 272.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1B87 |
|---|---|
| RGB | rgb(30, 27, 135) |
| HSL | hsl(242, 67%, 32%) |
| HSV | hsv(242, 80%, 53%) |
| CMYK | cmyk(77.8%, 80%, 0%, 47.1%) |
| CIE-LAB | lab(19.26, 39.03, -58.63) |
| CIE-LCH | lch(19.26, 70.43, 303.65°) |
| OKLab | oklab(32.09% 0.0075 -0.1697) |
| OKLCH | oklch(32.09% 0.17 272.5) |
| XYZ | xyz(5.2991, 2.8086, 23.1798) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.09
Midnight Blue
#191970
ΔE00 3.65
Darkblue
#00008B
ΔE00 4.59
Navy
#000080
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.00
Indigo (survey)
#380282
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1B87 #84871B
analogous
#1B4E87 #1E1B87 #541B87
triadic
#1E1B87 #871E1B #1B871E
tetradic
#1E1B87 #871B4E #84871B #1B8754
square
#1E1B87 #871B4E #84871B #1B8754
split-complementary
#1E1B87 #87541B #4E871B
monochromatic
#070721 #131154 #1E1B87 #2925BA #4743D9
Accessibility & contrast
On white
13.45
#1E1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1E1B87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1B87
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1B87 | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e1b87; /* rgb */ color: rgb(30, 27, 135); /* oklch */ color: oklch(32.1% 0.170 272.5);
Tailwind
colors: {
custom: {
50: '#6e5aab',
500: '#1e1b87',
950: '#000000',
},
}SCSS
$custom: #1e1b87; $custom-light: #6e5aab; $custom-dark: #000000;
JSON
{
"hex": "#1e1b87",
"rgb": {
"r": 30,
"g": 27,
"b": 135
},
"hsl": {
"h": 241.667,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.32086,
"c": 0.16984,
"h": 272.5
},
"luminance": 0.02809
}Semantic roles & 50–950 ramp
primary
#1E1B87
secondary
#B7BA44
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F