#1D2C86#1D2C86
#1D2C86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.150 H 269.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C86 |
|---|---|
| RGB | rgb(29, 44, 134) |
| HSL | hsl(231, 64%, 32%) |
| HSV | hsv(231, 78%, 53%) |
| CMYK | cmyk(78.4%, 67.2%, 0%, 47.5%) |
| CIE-LAB | lab(22.94, 27.96, -51.93) |
| CIE-LCH | lch(22.94, 58.98, 298.30°) |
| OKLab | oklab(34.68% -0.002 -0.1502) |
| OKLCH | oklch(34.68% 0.15 269.2) |
| XYZ | xyz(5.7090, 3.7832, 22.9790) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.81
Royal
#0C1793
ΔE00 5.98
Sapphire (survey)
#2138AB
ΔE00 5.98
Darkslateblue
#483D8B
ΔE00 7.27
Blueberry
#464196
ΔE00 7.52
Marine
#042E60
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C86 #86771D
analogous
#1D6086 #1D2C86 #431D86
triadic
#1D2C86 #861D2C #2C861D
tetradic
#1D2C86 #861D60 #86771D #1D8643
square
#1D2C86 #861D60 #86771D #1D8643
split-complementary
#1D2C86 #86431D #60861D
monochromatic
#070B21 #121B54 #1D2C86 #283DB8 #465BD7
Accessibility & contrast
On white
11.95
#1D2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1D2C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C86
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C86 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 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: #1d2c86; /* rgb */ color: rgb(29, 44, 134); /* oklch */ color: oklch(34.7% 0.150 269.2);
Tailwind
colors: {
custom: {
50: '#6b65aa',
500: '#1d2c86',
950: '#000000',
},
}SCSS
$custom: #1d2c86; $custom-light: #6b65aa; $custom-dark: #000000;
JSON
{
"hex": "#1d2c86",
"rgb": {
"r": 29,
"g": 44,
"b": 134
},
"hsl": {
"h": 231.429,
"s": 64.417,
"l": 31.961
},
"oklch": {
"l": 0.34681,
"c": 0.15026,
"h": 269.2
},
"luminance": 0.03784
}Semantic roles & 50–950 ramp
primary
#1D2C86
secondary
#B9A846
accent
#D040E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F