#1E1B85#1E1B85
#1E1B85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.167 H 272.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1B85 |
|---|---|
| RGB | rgb(30, 27, 133) |
| HSL | hsl(242, 66%, 31%) |
| HSV | hsv(242, 80%, 52%) |
| CMYK | cmyk(77.4%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(19.03, 38.35, -57.76) |
| CIE-LCH | lch(19.03, 69.33, 303.58°) |
| OKLab | oklab(31.85% 0.008 -0.1671) |
| OKLCH | oklch(31.85% 0.167 272.7) |
| XYZ | xyz(5.1596, 2.7528, 22.4452) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.34
Midnight Blue
#191970
ΔE00 3.35
Darkblue
#00008B
ΔE00 4.67
Navy
#000080
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.27
Indigo (survey)
#380282
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1B85 #82851B
analogous
#1B4D85 #1E1B85 #531B85
triadic
#1E1B85 #851E1B #1B851E
tetradic
#1E1B85 #851B4D #82851B #1B8553
square
#1E1B85 #851B4D #82851B #1B8553
split-complementary
#1E1B85 #85531B #4D851B
monochromatic
#07061F #131152 #1E1B85 #2925B8 #4642D9
Accessibility & contrast
On white
13.54
#1E1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E1B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1B85
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1B85 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e1b85; /* rgb */ color: rgb(30, 27, 133); /* oklch */ color: oklch(31.9% 0.167 272.7);
Tailwind
colors: {
custom: {
50: '#6d5aaa',
500: '#1e1b85',
950: '#000000',
},
}SCSS
$custom: #1e1b85; $custom-light: #6d5aaa; $custom-dark: #000000;
JSON
{
"hex": "#1e1b85",
"rgb": {
"r": 30,
"g": 27,
"b": 133
},
"hsl": {
"h": 241.698,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.31852,
"c": 0.16734,
"h": 272.7
},
"luminance": 0.02753
}Semantic roles & 50–950 ramp
primary
#1E1B85
secondary
#B5B844
accent
#E93FE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F