#1D2C87#1D2C87
#1D2C87 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.152 H 269.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2C87 |
|---|---|
| RGB | rgb(29, 44, 135) |
| HSL | hsl(232, 65%, 32%) |
| HSV | hsv(232, 79%, 53%) |
| CMYK | cmyk(78.5%, 67.4%, 0%, 47.1%) |
| CIE-LAB | lab(23.04, 28.35, -52.40) |
| CIE-LCH | lch(23.04, 59.58, 298.41°) |
| OKLab | oklab(34.78% -0.0021 -0.1516) |
| OKLCH | oklch(34.78% 0.152 269.2) |
| XYZ | xyz(5.7790, 3.8112, 23.3480) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.85
Midnight Blue
#191970
ΔE00 5.86
Royal
#0C1793
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 7.26
Blueberry
#464196
ΔE00 7.48
Marine
#042E60
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2C87 #87781D
analogous
#1D6187 #1D2C87 #431D87
triadic
#1D2C87 #871D2C #2C871D
tetradic
#1D2C87 #871D61 #87781D #1D8743
square
#1D2C87 #871D61 #87781D #1D8743
split-complementary
#1D2C87 #87431D #61871D
monochromatic
#070B22 #121C55 #1D2C87 #283CB9 #475BD7
Accessibility & contrast
On white
11.92
#1D2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1D2C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2C87
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2C87 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1d2c87; /* rgb */ color: rgb(29, 44, 135); /* oklch */ color: oklch(34.8% 0.152 269.2);
Tailwind
colors: {
custom: {
50: '#6b65ab',
500: '#1d2c87',
950: '#000000',
},
}SCSS
$custom: #1d2c87; $custom-light: #6b65ab; $custom-dark: #000000;
JSON
{
"hex": "#1d2c87",
"rgb": {
"r": 29,
"g": 44,
"b": 135
},
"hsl": {
"h": 231.509,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.3478,
"c": 0.15163,
"h": 269.2
},
"luminance": 0.03812
}Semantic roles & 50–950 ramp
primary
#1D2C87
secondary
#B9A946
accent
#D040E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F