#1E1F80#1E1F80
#1E1F80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.157 H 272.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1F80 |
|---|---|
| RGB | rgb(30, 31, 128) |
| HSL | hsl(239, 62%, 31%) |
| HSV | hsv(239, 77%, 50%) |
| CMYK | cmyk(76.6%, 75.8%, 0%, 49.8%) |
| CIE-LAB | lab(19.28, 34.27, -54.17) |
| CIE-LCH | lch(19.28, 64.10, 302.32°) |
| OKLab | oklab(31.87% 0.0072 -0.1568) |
| OKLCH | oklch(31.87% 0.157 272.6) |
| XYZ | xyz(4.9204, 2.8140, 20.7017) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.74
Royal
#0C1793
ΔE00 3.51
Dark Royal Blue
#02066F
ΔE00 5.77
Darkblue
#00008B
ΔE00 5.89
Navy
#000080
ΔE00 5.97
Deep Blue
#040273
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1F80 #807F1E
analogous
#1E5080 #1E1F80 #4E1E80
triadic
#1E1F80 #801E1F #1F801E
tetradic
#1E1F80 #801E50 #807F1E #1E804E
square
#1E1F80 #801E50 #807F1E #1E804E
split-complementary
#1E1F80 #804E1E #50801E
monochromatic
#07071D #12134E #1E1F80 #2A2BB2 #4546D3
Accessibility & contrast
On white
13.44
#1E1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1E1F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1F80
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1F80 | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e1f80; /* rgb */ color: rgb(30, 31, 128); /* oklch */ color: oklch(31.9% 0.157 272.6);
Tailwind
colors: {
custom: {
50: '#6b5ca6',
500: '#1e1f80',
950: '#000000',
},
}SCSS
$custom: #1e1f80; $custom-light: #6b5ca6; $custom-dark: #000000;
JSON
{
"hex": "#1e1f80",
"rgb": {
"r": 30,
"g": 31,
"b": 128
},
"hsl": {
"h": 239.388,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.31866,
"c": 0.15692,
"h": 272.6
},
"luminance": 0.02815
}Semantic roles & 50–950 ramp
primary
#1E1F80
secondary
#B3B247
accent
#E343E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F