#1D3E7D#1D3E7D
#1D3E7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.114 H 261.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3E7D |
|---|---|
| RGB | rgb(29, 62, 125) |
| HSL | hsl(219, 62%, 30%) |
| HSV | hsv(219, 77%, 49%) |
| CMYK | cmyk(76.8%, 50.4%, 0%, 51%) |
| CIE-LAB | lab(27.26, 11.84, -39.27) |
| CIE-LCH | lch(27.26, 41.01, 286.78°) |
| OKLab | oklab(37.69% -0.0163 -0.1128) |
| OKLCH | oklch(37.69% 0.114 261.8) |
| XYZ | xyz(5.9297, 5.1865, 20.0866) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.86
Twilight Blue
#0A437A
ΔE00 3.65
Cobalt (survey)
#1E488F
ΔE00 3.80
Marine Blue
#01386A
ΔE00 4.06
Prussian Blue
#004577
ΔE00 5.32
Marine
#042E60
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3E7D #7D5C1D
analogous
#1D6E7D #1D3E7D #2C1D7D
triadic
#1D3E7D #7D1D3E #3E7D1D
tetradic
#1D3E7D #7D1D6E #7D5C1D #1D7D2C
square
#1D3E7D #7D1D6E #7D5C1D #1D7D2C
split-complementary
#1D3E7D #7D2C1D #6E7D1D
monochromatic
#060D1A #11254B #1D3E7D #2957AF #4173D3
Accessibility & contrast
On white
10.31
#1D3E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1D3E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3E7D
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3E7D | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1d3e7d; /* rgb */ color: rgb(29, 62, 125); /* oklch */ color: oklch(37.7% 0.114 261.8);
Tailwind
colors: {
custom: {
50: '#6872a3',
500: '#1d3e7d',
950: '#000000',
},
}SCSS
$custom: #1d3e7d; $custom-light: #6872a3; $custom-dark: #000000;
JSON
{
"hex": "#1d3e7d",
"rgb": {
"r": 29,
"g": 62,
"b": 125
},
"hsl": {
"h": 219.375,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.37687,
"c": 0.11394,
"h": 261.8
},
"luminance": 0.05187
}Semantic roles & 50–950 ramp
primary
#1D3E7D
secondary
#B18C45
accent
#AD42E5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F