#1D2E7D#1D2E7D
#1D2E7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.135 H 268.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2E7D |
|---|---|
| RGB | rgb(29, 46, 125) |
| HSL | hsl(229, 62%, 30%) |
| HSV | hsv(229, 77%, 49%) |
| CMYK | cmyk(76.8%, 63.2%, 0%, 51%) |
| CIE-LAB | lab(22.64, 23.08, -46.77) |
| CIE-LCH | lch(22.64, 52.15, 296.27°) |
| OKLab | oklab(34.2% -0.003 -0.1351) |
| OKLCH | oklch(34.2% 0.135 268.7) |
| XYZ | xyz(5.1841, 3.6953, 19.8381) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.22
Marine
#042E60
ΔE00 6.23
Sapphire (survey)
#2138AB
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.32
Marine Blue
#01386A
ΔE00 7.42
Royal
#0C1793
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2E7D #7D6C1D
analogous
#1D5E7D #1D2E7D #3C1D7D
triadic
#1D2E7D #7D1D2E #2E7D1D
tetradic
#1D2E7D #7D1D5E #7D6C1D #1D7D3C
square
#1D2E7D #7D1D5E #7D6C1D #1D7D3C
split-complementary
#1D2E7D #7D3C1D #5E7D1D
monochromatic
#06091A #111C4B #1D2E7D #2940AF #415BD3
Accessibility & contrast
On white
12.07
#1D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1D2E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2E7D
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2E7D | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1d2e7d; /* rgb */ color: rgb(29, 46, 125); /* oklch */ color: oklch(34.2% 0.135 268.7);
Tailwind
colors: {
custom: {
50: '#6966a3',
500: '#1d2e7d',
950: '#000000',
},
}SCSS
$custom: #1d2e7d; $custom-light: #6966a3; $custom-dark: #000000;
JSON
{
"hex": "#1d2e7d",
"rgb": {
"r": 29,
"g": 46,
"b": 125
},
"hsl": {
"h": 229.375,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.342,
"c": 0.13511,
"h": 268.7
},
"luminance": 0.03696
}Semantic roles & 50–950 ramp
primary
#1D2E7D
secondary
#B19E45
accent
#C942E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F