#1D3D7F#1D3D7F
#1D3D7F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.118 H 262.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3D7F |
|---|---|
| RGB | rgb(29, 61, 127) |
| HSL | hsl(220, 63%, 31%) |
| HSV | hsv(220, 77%, 50%) |
| CMYK | cmyk(77.2%, 52%, 0%, 50.2%) |
| CIE-LAB | lab(27.10, 13.35, -40.77) |
| CIE-LCH | lch(27.10, 42.91, 288.13°) |
| OKLab | oklab(37.61% -0.0151 -0.1172) |
| OKLCH | oklch(37.61% 0.118 262.7) |
| XYZ | xyz(6.0048, 5.1303, 20.7483) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.22
Cobalt (survey)
#1E488F
ΔE00 3.99
Twilight Blue
#0A437A
ΔE00 4.12
Marine Blue
#01386A
ΔE00 4.35
Prussian Blue
#004577
ΔE00 5.77
Marine
#042E60
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3D7F #7F5F1D
analogous
#1D6E7F #1D3D7F #2E1D7F
triadic
#1D3D7F #7F1D3D #3D7F1D
tetradic
#1D3D7F #7F1D6E #7F5F1D #1D7F2E
square
#1D3D7F #7F1D6E #7F5F1D #1D7F2E
split-complementary
#1D3D7F #7F2E1D #6E7F1D
monochromatic
#060D1B #12254D #1D3D7F #2855B1 #4272D4
Accessibility & contrast
On white
10.36
#1D3D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1D3D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3D7F
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3D7F | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154581
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1d3d7f; /* rgb */ color: rgb(29, 61, 127); /* oklch */ color: oklch(37.6% 0.118 262.7);
Tailwind
colors: {
custom: {
50: '#6872a5',
500: '#1d3d7f',
950: '#000000',
},
}SCSS
$custom: #1d3d7f; $custom-light: #6872a5; $custom-dark: #000000;
JSON
{
"hex": "#1d3d7f",
"rgb": {
"r": 29,
"g": 61,
"b": 127
},
"hsl": {
"h": 220.408,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.37613,
"c": 0.11819,
"h": 262.7
},
"luminance": 0.05131
}Semantic roles & 50–950 ramp
primary
#1D3D7F
secondary
#B28F45
accent
#B042E6
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F