#1D2D86#1D2D86
#1D2D86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.149 H 269.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2D86 |
|---|---|
| RGB | rgb(29, 45, 134) |
| HSL | hsl(231, 64%, 32%) |
| HSV | hsv(231, 78%, 53%) |
| CMYK | cmyk(78.4%, 66.4%, 0%, 47.5%) |
| CIE-LAB | lab(23.20, 27.29, -51.51) |
| CIE-LCH | lch(23.20, 58.29, 297.91°) |
| OKLab | oklab(34.87% -0.0026 -0.149) |
| OKLCH | oklch(34.87% 0.149 269) |
| XYZ | xyz(5.7467, 3.8586, 22.9915) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.87
Midnight Blue
#191970
ΔE00 6.08
Royal
#0C1793
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 7.16
Blueberry
#464196
ΔE00 7.37
Marine
#042E60
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2D86 #86761D
analogous
#1D6286 #1D2D86 #421D86
triadic
#1D2D86 #861D2D #2D861D
tetradic
#1D2D86 #861D62 #86761D #1D8642
square
#1D2D86 #861D62 #86761D #1D8642
split-complementary
#1D2D86 #86421D #62861D
monochromatic
#070B21 #121C54 #1D2D86 #283EB8 #465CD7
Accessibility & contrast
On white
11.85
#1D2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1D2D86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2D86
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2D86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2D86 | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1d2d86; /* rgb */ color: rgb(29, 45, 134); /* oklch */ color: oklch(34.9% 0.149 269.0);
Tailwind
colors: {
custom: {
50: '#6b66aa',
500: '#1d2d86',
950: '#000000',
},
}SCSS
$custom: #1d2d86; $custom-light: #6b66aa; $custom-dark: #000000;
JSON
{
"hex": "#1d2d86",
"rgb": {
"r": 29,
"g": 45,
"b": 134
},
"hsl": {
"h": 230.857,
"s": 64.417,
"l": 31.961
},
"oklch": {
"l": 0.34869,
"c": 0.14903,
"h": 269
},
"luminance": 0.03859
}Semantic roles & 50–950 ramp
primary
#1D2D86
secondary
#B9A746
accent
#CE40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F