#1E1E80#1E1E80
#1E1E80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.158 H 272.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1E80 |
|---|---|
| RGB | rgb(30, 30, 128) |
| HSL | hsl(240, 62%, 31%) |
| HSV | hsv(240, 77%, 50%) |
| CMYK | cmyk(76.6%, 76.6%, 0%, 49.8%) |
| CIE-LAB | lab(19.07, 34.87, -54.53) |
| CIE-LCH | lch(19.07, 64.73, 302.60°) |
| OKLab | oklab(31.71% 0.0077 -0.1578) |
| OKLCH | oklch(31.71% 0.158 272.8) |
| XYZ | xyz(4.8947, 2.7626, 20.6932) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Royal
#0C1793
ΔE00 3.36
Dark Royal Blue
#02066F
ΔE00 5.55
Darkblue
#00008B
ΔE00 5.65
Navy
#000080
ΔE00 5.72
Deep Blue
#040273
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1E80 #80801E
analogous
#1E4F80 #1E1E80 #4F1E80
triadic
#1E1E80 #801E1E #1E801E
tetradic
#1E1E80 #801E4F #80801E #1E804F
square
#1E1E80 #801E4F #80801E #1E804F
split-complementary
#1E1E80 #804F1E #4F801E
monochromatic
#07071D #12124E #1E1E80 #2A2AB2 #4545D3
Accessibility & contrast
On white
13.53
#1E1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E1E80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1E80
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1E80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1E80 | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e1e80; /* rgb */ color: rgb(30, 30, 128); /* oklch */ color: oklch(31.7% 0.158 272.8);
Tailwind
colors: {
custom: {
50: '#6b5ba6',
500: '#1e1e80',
950: '#000000',
},
}SCSS
$custom: #1e1e80; $custom-light: #6b5ba6; $custom-dark: #000000;
JSON
{
"hex": "#1e1e80",
"rgb": {
"r": 30,
"g": 30,
"b": 128
},
"hsl": {
"h": 240,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.31713,
"c": 0.15798,
"h": 272.8
},
"luminance": 0.02763
}Semantic roles & 50–950 ramp
primary
#1E1E80
secondary
#B3B347
accent
#E543E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F