#1D2D85#1D2D85
#1D2D85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.148 H 269.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2D85 |
|---|---|
| RGB | rgb(29, 45, 133) |
| HSL | hsl(231, 64%, 32%) |
| HSV | hsv(231, 78%, 52%) |
| CMYK | cmyk(78.2%, 66.2%, 0%, 47.8%) |
| CIE-LAB | lab(23.10, 26.90, -51.04) |
| CIE-LCH | lch(23.10, 57.70, 297.79°) |
| OKLab | oklab(34.77% -0.0026 -0.1476) |
| OKLCH | oklch(34.77% 0.148 269) |
| XYZ | xyz(5.6773, 3.8308, 22.6260) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.00
Midnight Blue
#191970
ΔE00 6.03
Royal
#0C1793
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 7.17
Blueberry
#464196
ΔE00 7.41
Marine
#042E60
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2D85 #85751D
analogous
#1D6185 #1D2D85 #411D85
triadic
#1D2D85 #851D2D #2D851D
tetradic
#1D2D85 #851D61 #85751D #1D8541
square
#1D2D85 #851D61 #85751D #1D8541
split-complementary
#1D2D85 #85411D #61851D
monochromatic
#070B21 #121C53 #1D2D85 #283EB7 #465CD7
Accessibility & contrast
On white
11.89
#1D2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1D2D85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2D85
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2D85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2D85 | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1d2d85; /* rgb */ color: rgb(29, 45, 133); /* oklch */ color: oklch(34.8% 0.148 269.0);
Tailwind
colors: {
custom: {
50: '#6b65a9',
500: '#1d2d85',
950: '#000000',
},
}SCSS
$custom: #1d2d85; $custom-light: #6b65a9; $custom-dark: #000000;
JSON
{
"hex": "#1d2d85",
"rgb": {
"r": 29,
"g": 45,
"b": 133
},
"hsl": {
"h": 230.769,
"s": 64.198,
"l": 31.765
},
"oklch": {
"l": 0.34771,
"c": 0.14764,
"h": 269
},
"luminance": 0.03831
}Semantic roles & 50–950 ramp
primary
#1D2D85
secondary
#B8A646
accent
#CE41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F