#1E1D7D#1E1D7D
#1E1D7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.155 H 273.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1D7D |
|---|---|
| RGB | rgb(30, 29, 125) |
| HSL | hsl(241, 62%, 30%) |
| HSV | hsv(241, 77%, 49%) |
| CMYK | cmyk(76%, 76.8%, 0%, 51%) |
| CIE-LAB | lab(18.52, 34.41, -53.53) |
| CIE-LCH | lch(18.52, 63.64, 302.74°) |
| OKLab | oklab(31.22% 0.0087 -0.1549) |
| OKLCH | oklch(31.22% 0.155 273.2) |
| XYZ | xyz(4.6752, 2.6349, 19.6603) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.18
Royal
#0C1793
ΔE00 3.67
Dark Royal Blue
#02066F
ΔE00 5.21
Navy
#000080
ΔE00 5.57
Deep Blue
#040273
ΔE00 5.59
Darkblue
#00008B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1D7D #7C7D1D
analogous
#1D4C7D #1E1D7D #4E1D7D
triadic
#1E1D7D #7D1E1D #1D7D1E
tetradic
#1E1D7D #7D1D4C #7C7D1D #1D7D4E
square
#1E1D7D #7D1D4C #7C7D1D #1D7D4E
split-complementary
#1E1D7D #7D4E1D #4C7D1D
monochromatic
#06061A #12114B #1E1D7D #2A29AF #4341D3
Accessibility & contrast
On white
13.75
#1E1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1E1D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1D7D
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1D7D | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1d7d; /* rgb */ color: rgb(30, 29, 125); /* oklch */ color: oklch(31.2% 0.155 273.2);
Tailwind
colors: {
custom: {
50: '#6b5aa4',
500: '#1e1d7d',
950: '#000000',
},
}SCSS
$custom: #1e1d7d; $custom-light: #6b5aa4; $custom-dark: #000000;
JSON
{
"hex": "#1e1d7d",
"rgb": {
"r": 30,
"g": 29,
"b": 125
},
"hsl": {
"h": 240.625,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.31224,
"c": 0.15512,
"h": 273.2
},
"luminance": 0.02635
}Semantic roles & 50–950 ramp
primary
#1E1D7D
secondary
#AFB145
accent
#E542E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F