#1D2D89#1D2D89
#1D2D89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.153 H 269.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2D89 |
|---|---|
| RGB | rgb(29, 45, 137) |
| HSL | hsl(231, 65%, 33%) |
| HSV | hsv(231, 79%, 54%) |
| CMYK | cmyk(78.8%, 67.2%, 0%, 46.3%) |
| CIE-LAB | lab(23.48, 28.44, -52.92) |
| CIE-LCH | lch(23.48, 60.08, 298.26°) |
| OKLab | oklab(35.17% -0.0028 -0.1531) |
| OKLCH | oklch(35.17% 0.153 269) |
| XYZ | xyz(5.9589, 3.9435, 24.1092) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.48
Royal
#0C1793
ΔE00 6.02
Midnight Blue
#191970
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 7.14
Blueberry
#464196
ΔE00 7.26
Marine
#042E60
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2D89 #89791D
analogous
#1D6389 #1D2D89 #431D89
triadic
#1D2D89 #891D2D #2D891D
tetradic
#1D2D89 #891D63 #89791D #1D8943
square
#1D2D89 #891D63 #89791D #1D8943
split-complementary
#1D2D89 #89431D #63891D
monochromatic
#080C24 #121C56 #1D2D89 #283EBC #485DD8
Accessibility & contrast
On white
11.74
#1D2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1D2D89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2D89
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2D89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2D89 | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1d2d89; /* rgb */ color: rgb(29, 45, 137); /* oklch */ color: oklch(35.2% 0.153 269.0);
Tailwind
colors: {
custom: {
50: '#6c66ac',
500: '#1d2d89',
950: '#000000',
},
}SCSS
$custom: #1d2d89; $custom-light: #6c66ac; $custom-dark: #000000;
JSON
{
"hex": "#1d2d89",
"rgb": {
"r": 29,
"g": 45,
"b": 137
},
"hsl": {
"h": 231.111,
"s": 65.06,
"l": 32.549
},
"oklch": {
"l": 0.35166,
"c": 0.15315,
"h": 269
},
"luminance": 0.03944
}Semantic roles & 50–950 ramp
primary
#1D2D89
secondary
#BAA947
accent
#CF40E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F