#1D2E8D#1D2E8D
#1D2E8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.157 H 268.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2E8D |
|---|---|
| RGB | rgb(29, 46, 141) |
| HSL | hsl(231, 66%, 33%) |
| HSV | hsv(231, 79%, 55%) |
| CMYK | cmyk(79.4%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(24.12, 29.30, -54.36) |
| CIE-LCH | lch(24.12, 61.76, 298.33°) |
| OKLab | oklab(35.75% -0.0036 -0.1573) |
| OKLCH | oklch(35.75% 0.157 268.7) |
| XYZ | xyz(6.2897, 4.1376, 25.6613) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.87
Royal
#0C1793
ΔE00 6.04
Midnight Blue
#191970
ΔE00 6.72
Blueberry
#464196
ΔE00 6.99
Darkslateblue
#483D8B
ΔE00 7.05
Cobalt Blue
#030AA7
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2E8D #8D7C1D
analogous
#1D668D #1D2E8D #441D8D
triadic
#1D2E8D #8D1D2E #2E8D1D
tetradic
#1D2E8D #8D1D66 #8D7C1D #1D8D44
square
#1D2E8D #8D1D66 #8D7C1D #1D8D44
split-complementary
#1D2E8D #8D441D #668D1D
monochromatic
#080D27 #131D5A #1D2E8D #273FC0 #4B60DA
Accessibility & contrast
On white
11.49
#1D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1D2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2E8D
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2E8D | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1d2e8d; /* rgb */ color: rgb(29, 46, 141); /* oklch */ color: oklch(35.8% 0.157 268.7);
Tailwind
colors: {
custom: {
50: '#6d66af',
500: '#1d2e8d',
950: '#000000',
},
}SCSS
$custom: #1d2e8d; $custom-light: #6d66af; $custom-dark: #000000;
JSON
{
"hex": "#1d2e8d",
"rgb": {
"r": 29,
"g": 46,
"b": 141
},
"hsl": {
"h": 230.893,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.3575,
"c": 0.15738,
"h": 268.7
},
"luminance": 0.04138
}Semantic roles & 50–950 ramp
primary
#1D2E8D
secondary
#BCAB4A
accent
#CF3FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F