#1D1886#1D1886
#1D1886 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.172 H 272.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1886 |
|---|---|
| RGB | rgb(29, 24, 134) |
| HSL | hsl(243, 70%, 31%) |
| HSV | hsv(243, 82%, 53%) |
| CMYK | cmyk(78.4%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.52, 40.23, -59.23) |
| CIE-LCH | lch(18.52, 71.60, 304.19°) |
| OKLab | oklab(31.52% 0.0076 -0.1714) |
| OKLCH | oklch(31.52% 0.172 272.5) |
| XYZ | xyz(5.1350, 2.6352, 22.7876) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.02
Midnight Blue
#191970
ΔE00 3.59
Darkblue
#00008B
ΔE00 3.98
Navy
#000080
ΔE00 4.32
Indigo (survey)
#380282
ΔE00 4.80
Cobalt Blue
#030AA7
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1886 #818618
analogous
#184A86 #1D1886 #541886
triadic
#1D1886 #861D18 #18861D
tetradic
#1D1886 #86184A #818618 #188654
square
#1D1886 #86184A #818618 #188654
split-complementary
#1D1886 #865418 #4A8618
monochromatic
#07051E #120F52 #1D1886 #2821BA #443CDC
Accessibility & contrast
On white
13.75
#1D1886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1D1886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1886
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1886 | 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)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1d1886; /* rgb */ color: rgb(29, 24, 134); /* oklch */ color: oklch(31.5% 0.172 272.5);
Tailwind
colors: {
custom: {
50: '#6d58aa',
500: '#1d1886',
950: '#000000',
},
}SCSS
$custom: #1d1886; $custom-light: #6d58aa; $custom-dark: #000000;
JSON
{
"hex": "#1d1886",
"rgb": {
"r": 29,
"g": 24,
"b": 134
},
"hsl": {
"h": 242.727,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.31516,
"c": 0.17156,
"h": 272.5
},
"luminance": 0.02636
}Semantic roles & 50–950 ramp
primary
#1D1886
secondary
#B4BA40
accent
#EC3BE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F