#1D1C86#1D1C86
#1D1C86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.168 H 272.1°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1C86 |
|---|---|
| RGB | rgb(29, 28, 134) |
| HSL | hsl(241, 65%, 32%) |
| HSV | hsv(241, 79%, 53%) |
| CMYK | cmyk(78.4%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(19.28, 38.05, -57.97) |
| CIE-LCH | lch(19.28, 69.34, 303.28°) |
| OKLab | oklab(32.05% 0.0061 -0.1678) |
| OKLCH | oklch(32.05% 0.168 272.1) |
| XYZ | xyz(5.2236, 2.8124, 22.8172) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.29
Midnight Blue
#191970
ΔE00 3.47
Darkblue
#00008B
ΔE00 4.84
Navy
#000080
ΔE00 5.16
Cobalt Blue
#030AA7
ΔE00 5.25
Dark Royal Blue
#02066F
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1C86 #85861C
analogous
#1C5086 #1D1C86 #521C86
triadic
#1D1C86 #861D1C #1C861D
tetradic
#1D1C86 #861C50 #85861C #1C8652
square
#1D1C86 #861C50 #85861C #1C8652
split-complementary
#1D1C86 #86521C #50861C
monochromatic
#070721 #121153 #1D1C86 #2827B9 #4644D8
Accessibility & contrast
On white
13.44
#1D1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1D1C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1C86
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1C86 | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1d1c86; /* rgb */ color: rgb(29, 28, 134); /* oklch */ color: oklch(32.0% 0.168 272.1);
Tailwind
colors: {
custom: {
50: '#6d5aaa',
500: '#1d1c86',
950: '#000000',
},
}SCSS
$custom: #1d1c86; $custom-light: #6d5aaa; $custom-dark: #000000;
JSON
{
"hex": "#1d1c86",
"rgb": {
"r": 29,
"g": 28,
"b": 134
},
"hsl": {
"h": 240.566,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.32046,
"c": 0.16792,
"h": 272.1
},
"luminance": 0.02813
}Semantic roles & 50–950 ramp
primary
#1D1C86
secondary
#B8B945
accent
#E83FE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F