#1D1381#1D1381
#1D1381 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.170 H 273.6°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1381 |
|---|---|
| RGB | rgb(29, 19, 129) |
| HSL | hsl(245, 74%, 29%) |
| HSV | hsv(245, 85%, 51%) |
| CMYK | cmyk(77.5%, 85.3%, 0%, 49.4%) |
| CIE-LAB | lab(17.04, 41.10, -58.51) |
| CIE-LCH | lch(17.04, 71.51, 305.09°) |
| OKLab | oklab(30.31% 0.0105 -0.1692) |
| OKLCH | oklch(30.31% 0.17 273.6) |
| XYZ | xyz(4.7007, 2.3114, 20.9630) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.80
Darkblue
#00008B
ΔE00 3.33
Navy
#000080
ΔE00 3.34
Midnight Blue
#191970
ΔE00 3.34
Deep Blue
#040273
ΔE00 3.82
Dark Royal Blue
#02066F
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1381 #778113
analogous
#134081 #1D1381 #541381
triadic
#1D1381 #811D13 #13811D
tetradic
#1D1381 #811340 #778113 #138154
square
#1D1381 #811340 #778113 #138154
split-complementary
#1D1381 #815413 #408113
monochromatic
#06041B #110B4C #1D1381 #291BB6 #3E2EE0
Accessibility & contrast
On white
14.36
#1D1381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1D1381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1381
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1381 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d1381; /* rgb */ color: rgb(29, 19, 129); /* oklch */ color: oklch(30.3% 0.170 273.6);
Tailwind
colors: {
custom: {
50: '#6c55a7',
500: '#1d1381',
950: '#000000',
},
}SCSS
$custom: #1d1381; $custom-light: #6c55a7; $custom-dark: #000000;
JSON
{
"hex": "#1d1381",
"rgb": {
"r": 29,
"g": 19,
"b": 129
},
"hsl": {
"h": 245.455,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.30313,
"c": 0.16956,
"h": 273.6
},
"luminance": 0.02312
}Semantic roles & 50–950 ramp
primary
#1D1381
secondary
#ABB63A
accent
#F137E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F