#1D1581#1D1581
#1D1581 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.168 H 273.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1581 |
|---|---|
| RGB | rgb(29, 21, 129) |
| HSL | hsl(244, 72%, 29%) |
| HSV | hsv(244, 84%, 51%) |
| CMYK | cmyk(77.5%, 83.7%, 0%, 49.4%) |
| CIE-LAB | lab(17.38, 40.13, -57.96) |
| CIE-LCH | lch(17.38, 70.50, 304.69°) |
| OKLab | oklab(30.54% 0.0099 -0.1677) |
| OKLCH | oklch(30.54% 0.168 273.4) |
| XYZ | xyz(4.7360, 2.3820, 20.9748) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.72
Midnight Blue
#191970
ΔE00 3.12
Darkblue
#00008B
ΔE00 3.66
Navy
#000080
ΔE00 3.69
Dark Royal Blue
#02066F
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1581 #798115
analogous
#154381 #1D1581 #531581
triadic
#1D1581 #811D15 #15811D
tetradic
#1D1581 #811543 #798115 #158153
square
#1D1581 #811543 #798115 #158153
split-complementary
#1D1581 #815315 #438115
monochromatic
#06041A #110C4C #1D1581 #291EB6 #3F33DE
Accessibility & contrast
On white
14.22
#1D1581 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1D1581 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1581
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1581 | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1d1581; /* rgb */ color: rgb(29, 21, 129); /* oklch */ color: oklch(30.5% 0.168 273.4);
Tailwind
colors: {
custom: {
50: '#6c56a7',
500: '#1d1581',
950: '#000000',
},
}SCSS
$custom: #1d1581; $custom-light: #6c56a7; $custom-dark: #000000;
JSON
{
"hex": "#1d1581",
"rgb": {
"r": 29,
"g": 21,
"b": 129
},
"hsl": {
"h": 244.444,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.30543,
"c": 0.16796,
"h": 273.4
},
"luminance": 0.02383
}Semantic roles & 50–950 ramp
primary
#1D1581
secondary
#ADB63C
accent
#EF39E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F