#1E1D7E#1E1D7E
#1E1D7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.156 H 273.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1D7E |
|---|---|
| RGB | rgb(30, 29, 126) |
| HSL | hsl(241, 63%, 30%) |
| HSV | hsv(241, 77%, 49%) |
| CMYK | cmyk(76.2%, 77%, 0%, 50.6%) |
| CIE-LAB | lab(18.63, 34.77, -53.98) |
| CIE-LCH | lch(18.63, 64.21, 302.78°) |
| OKLab | oklab(31.34% 0.0085 -0.1562) |
| OKLCH | oklch(31.34% 0.156 273.1) |
| XYZ | xyz(4.7394, 2.6606, 19.9984) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.32
Royal
#0C1793
ΔE00 3.52
Dark Royal Blue
#02066F
ΔE00 5.25
Navy
#000080
ΔE00 5.53
Darkblue
#00008B
ΔE00 5.55
Deep Blue
#040273
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1D7E #7D7E1D
analogous
#1D4C7E #1E1D7E #4F1D7E
triadic
#1E1D7E #7E1E1D #1D7E1E
tetradic
#1E1D7E #7E1D4C #7D7E1D #1D7E4F
square
#1E1D7E #7E1D4C #7D7E1D #1D7E4F
split-complementary
#1E1D7E #7E4F1D #4C7E1D
monochromatic
#06061B #12124C #1E1D7E #2A28B0 #4342D3
Accessibility & contrast
On white
13.71
#1E1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1E1D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1D7E
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1D7E | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1d7e; /* rgb */ color: rgb(30, 29, 126); /* oklch */ color: oklch(31.3% 0.156 273.1);
Tailwind
colors: {
custom: {
50: '#6b5aa4',
500: '#1e1d7e',
950: '#000000',
},
}SCSS
$custom: #1e1d7e; $custom-light: #6b5aa4; $custom-dark: #000000;
JSON
{
"hex": "#1e1d7e",
"rgb": {
"r": 30,
"g": 29,
"b": 126
},
"hsl": {
"h": 240.619,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.31336,
"c": 0.15642,
"h": 273.1
},
"luminance": 0.02661
}Semantic roles & 50–950 ramp
primary
#1E1D7E
secondary
#B0B145
accent
#E642E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F