#1E1D7C#1E1D7C
#1E1D7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.154 H 273.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1D7C |
|---|---|
| RGB | rgb(30, 29, 124) |
| HSL | hsl(241, 62%, 30%) |
| HSV | hsv(241, 77%, 49%) |
| CMYK | cmyk(75.8%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(18.41, 34.06, -53.07) |
| CIE-LCH | lch(18.41, 63.06, 302.69°) |
| OKLab | oklab(31.11% 0.0089 -0.1535) |
| OKLCH | oklch(31.11% 0.154 273.3) |
| XYZ | xyz(4.6117, 2.6095, 19.3255) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.04
Royal
#0C1793
ΔE00 3.82
Dark Royal Blue
#02066F
ΔE00 5.18
Deep Blue
#040273
ΔE00 5.59
Navy
#000080
ΔE00 5.62
Darkblue
#00008B
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1D7C #7B7C1D
analogous
#1D4B7C #1E1D7C #4E1D7C
triadic
#1E1D7C #7C1E1D #1D7C1E
tetradic
#1E1D7C #7C1D4B #7B7C1D #1D7C4E
square
#1E1D7C #7C1D4B #7B7C1D #1D7C4E
split-complementary
#1E1D7C #7C4E1D #4B7C1D
monochromatic
#060619 #12114A #1E1D7C #2A29AE #4241D3
Accessibility & contrast
On white
13.80
#1E1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1E1D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1D7C
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1D7C | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1d7c; /* rgb */ color: rgb(30, 29, 124); /* oklch */ color: oklch(31.1% 0.154 273.3);
Tailwind
colors: {
custom: {
50: '#6a5aa3',
500: '#1e1d7c',
950: '#000000',
},
}SCSS
$custom: #1e1d7c; $custom-light: #6a5aa3; $custom-dark: #000000;
JSON
{
"hex": "#1e1d7c",
"rgb": {
"r": 30,
"g": 29,
"b": 124
},
"hsl": {
"h": 240.632,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.31112,
"c": 0.15381,
"h": 273.3
},
"luminance": 0.0261
}Semantic roles & 50–950 ramp
primary
#1E1D7C
secondary
#AEB045
accent
#E543E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F