#1E1B88#1E1B88
#1E1B88 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.171 H 272.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1B88 |
|---|---|
| RGB | rgb(30, 27, 136) |
| HSL | hsl(242, 67%, 32%) |
| HSV | hsv(242, 80%, 53%) |
| CMYK | cmyk(77.9%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(19.38, 39.36, -59.06) |
| CIE-LCH | lch(19.38, 70.98, 303.68°) |
| OKLab | oklab(32.2% 0.0073 -0.1709) |
| OKLCH | oklch(32.2% 0.171 272.4) |
| XYZ | xyz(5.3698, 2.8369, 23.5523) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.97
Midnight Blue
#191970
ΔE00 3.80
Darkblue
#00008B
ΔE00 4.56
Cobalt Blue
#030AA7
ΔE00 4.87
Navy
#000080
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1B88 #85881B
analogous
#1B4F88 #1E1B88 #541B88
triadic
#1E1B88 #881E1B #1B881E
tetradic
#1E1B88 #881B4F #85881B #1B8854
square
#1E1B88 #881B4F #85881B #1B8854
split-complementary
#1E1B88 #88541B #4F881B
monochromatic
#070722 #131155 #1E1B88 #2925BB #4844DA
Accessibility & contrast
On white
13.40
#1E1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1E1B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1B88
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1B88 | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e1b88; /* rgb */ color: rgb(30, 27, 136); /* oklch */ color: oklch(32.2% 0.171 272.4);
Tailwind
colors: {
custom: {
50: '#6e5aac',
500: '#1e1b88',
950: '#000000',
},
}SCSS
$custom: #1e1b88; $custom-light: #6e5aac; $custom-dark: #000000;
JSON
{
"hex": "#1e1b88",
"rgb": {
"r": 30,
"g": 27,
"b": 136
},
"hsl": {
"h": 241.651,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.32203,
"c": 0.17109,
"h": 272.4
},
"luminance": 0.02837
}Semantic roles & 50–950 ramp
primary
#1E1B88
secondary
#B8BB44
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F