#1E1F87#1E1F87
#1E1F87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.166 H 272.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1F87 |
|---|---|
| RGB | rgb(30, 31, 135) |
| HSL | hsl(239, 64%, 32%) |
| HSV | hsv(239, 78%, 53%) |
| CMYK | cmyk(77.8%, 77%, 0%, 47.1%) |
| CIE-LAB | lab(20.06, 36.74, -57.30) |
| CIE-LCH | lch(20.06, 68.07, 302.67°) |
| OKLab | oklab(32.65% 0.0059 -0.1659) |
| OKLCH | oklch(32.65% 0.166 272) |
| XYZ | xyz(5.3971, 3.0047, 23.2125) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.63
Midnight Blue
#191970
ΔE00 3.71
Darkblue
#00008B
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 5.56
Navy
#000080
ΔE00 5.88
Indigo (survey)
#380282
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1F87 #87861E
analogous
#1E5387 #1E1F87 #521E87
triadic
#1E1F87 #871E1F #1F871E
tetradic
#1E1F87 #871E53 #87861E #1E8752
square
#1E1F87 #871E53 #87861E #1E8752
split-complementary
#1E1F87 #87521E #53871E
monochromatic
#080823 #131455 #1E1F87 #292AB9 #494AD7
Accessibility & contrast
On white
13.12
#1E1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1E1F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1F87
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1F87 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e1f87; /* rgb */ color: rgb(30, 31, 135); /* oklch */ color: oklch(32.7% 0.166 272.0);
Tailwind
colors: {
custom: {
50: '#6d5cab',
500: '#1e1f87',
950: '#000000',
},
}SCSS
$custom: #1e1f87; $custom-light: #6d5cab; $custom-dark: #000000;
JSON
{
"hex": "#1e1f87",
"rgb": {
"r": 30,
"g": 31,
"b": 135
},
"hsl": {
"h": 239.429,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.32652,
"c": 0.16596,
"h": 272
},
"luminance": 0.03005
}Semantic roles & 50–950 ramp
primary
#1E1F87
secondary
#B9B848
accent
#E541E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F