#1E1D7F#1E1D7F
#1E1D7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.158 H 273.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1D7F |
|---|---|
| RGB | rgb(30, 29, 127) |
| HSL | hsl(241, 63%, 31%) |
| HSV | hsv(241, 77%, 50%) |
| CMYK | cmyk(76.4%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(18.74, 35.12, -54.43) |
| CIE-LCH | lch(18.74, 64.78, 302.83°) |
| OKLab | oklab(31.45% 0.0083 -0.1575) |
| OKLCH | oklch(31.45% 0.158 273) |
| XYZ | xyz(4.8043, 2.6866, 20.3399) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Royal
#0C1793
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 5.29
Darkblue
#00008B
ΔE00 5.48
Navy
#000080
ΔE00 5.50
Deep Blue
#040273
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1D7F #7E7F1D
analogous
#1D4D7F #1E1D7F #4F1D7F
triadic
#1E1D7F #7F1E1D #1D7F1E
tetradic
#1E1D7F #7F1D4D #7E7F1D #1D7F4F
square
#1E1D7F #7F1D4D #7E7F1D #1D7F4F
split-complementary
#1E1D7F #7F4F1D #4D7F1D
monochromatic
#06061B #12124D #1E1D7F #2A28B1 #4442D4
Accessibility & contrast
On white
13.66
#1E1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1E1D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1D7F
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1D7F | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e1d7f; /* rgb */ color: rgb(30, 29, 127); /* oklch */ color: oklch(31.4% 0.158 273.0);
Tailwind
colors: {
custom: {
50: '#6b5aa5',
500: '#1e1d7f',
950: '#000000',
},
}SCSS
$custom: #1e1d7f; $custom-light: #6b5aa5; $custom-dark: #000000;
JSON
{
"hex": "#1e1d7f",
"rgb": {
"r": 30,
"g": 29,
"b": 127
},
"hsl": {
"h": 240.612,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.31449,
"c": 0.15772,
"h": 273
},
"luminance": 0.02687
}Semantic roles & 50–950 ramp
primary
#1E1D7F
secondary
#B1B245
accent
#E642E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F