#1D1390#1D1390
#1D1390 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.2% C 0.187 H 271.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1390 |
|---|---|
| RGB | rgb(29, 19, 144) |
| HSL | hsl(245, 77%, 32%) |
| HSV | hsv(245, 87%, 56%) |
| CMYK | cmyk(79.9%, 86.8%, 0%, 43.5%) |
| CIE-LAB | lab(18.97, 45.80, -64.74) |
| CIE-LCH | lch(18.97, 79.30, 305.27°) |
| OKLab | oklab(32.19% 0.0063 -0.1873) |
| OKLCH | oklch(32.19% 0.187 271.9) |
| XYZ | xyz(5.7719, 2.7399, 26.6048) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.34
Darkblue
#00008B
ΔE00 3.13
Cobalt Blue
#030AA7
ΔE00 3.17
Royal Blue (survey)
#0504AA
ΔE00 3.65
Navy
#000080
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1390 #869013
analogous
#134890 #1D1390 #5C1390
triadic
#1D1390 #901D13 #13901D
tetradic
#1D1390 #901348 #869013 #13905C
square
#1D1390 #901348 #869013 #13905C
split-complementary
#1D1390 #905C13 #489013
monochromatic
#070524 #120C5A #1D1390 #281AC6 #4639E5
Accessibility & contrast
On white
13.56
#1D1390 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1D1390 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1390
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1390 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1390 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1d1390; /* rgb */ color: rgb(29, 19, 144); /* oklch */ color: oklch(32.2% 0.187 271.9);
Tailwind
colors: {
custom: {
50: '#7056b2',
500: '#1d1390',
950: '#000000',
},
}SCSS
$custom: #1d1390; $custom-light: #7056b2; $custom-dark: #000000;
JSON
{
"hex": "#1d1390",
"rgb": {
"r": 29,
"g": 19,
"b": 144
},
"hsl": {
"h": 244.8,
"s": 76.687,
"l": 31.961
},
"oklch": {
"l": 0.3219,
"c": 0.18737,
"h": 271.9
},
"luminance": 0.02741
}Semantic roles & 50–950 ramp
primary
#1D1390
secondary
#B9C43B
accent
#F335E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880