#1D1F86#1D1F86
#1D1F86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.165 H 271.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1F86 |
|---|---|
| RGB | rgb(29, 31, 134) |
| HSL | hsl(239, 64%, 32%) |
| HSV | hsv(239, 78%, 53%) |
| CMYK | cmyk(78.4%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(19.89, 36.30, -56.96) |
| CIE-LCH | lch(19.89, 67.54, 302.51°) |
| OKLab | oklab(32.48% 0.0049 -0.1649) |
| OKLCH | oklch(32.48% 0.165 271.7) |
| XYZ | xyz(5.2983, 2.9618, 22.8421) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.73
Midnight Blue
#191970
ΔE00 3.56
Darkblue
#00008B
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 5.69
Navy
#000080
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1F86 #86841D
analogous
#1D5486 #1D1F86 #501D86
triadic
#1D1F86 #861D1F #1F861D
tetradic
#1D1F86 #861D54 #86841D #1D8650
square
#1D1F86 #861D54 #86841D #1D8650
split-complementary
#1D1F86 #86501D #54861D
monochromatic
#070821 #121354 #1D1F86 #282BB8 #4649D7
Accessibility & contrast
On white
13.19
#1D1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1D1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1F86
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1F86 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1d1f86; /* rgb */ color: rgb(29, 31, 134); /* oklch */ color: oklch(32.5% 0.165 271.7);
Tailwind
colors: {
custom: {
50: '#6d5caa',
500: '#1d1f86',
950: '#000000',
},
}SCSS
$custom: #1d1f86; $custom-light: #6d5caa; $custom-dark: #000000;
JSON
{
"hex": "#1d1f86",
"rgb": {
"r": 29,
"g": 31,
"b": 134
},
"hsl": {
"h": 238.857,
"s": 64.417,
"l": 31.961
},
"oklch": {
"l": 0.3248,
"c": 0.16496,
"h": 271.7
},
"luminance": 0.02962
}Semantic roles & 50–950 ramp
primary
#1D1F86
secondary
#B9B746
accent
#E440E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F