#1D3F7D#1D3F7D
#1D3F7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.113 H 261.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3F7D |
|---|---|
| RGB | rgb(29, 63, 125) |
| HSL | hsl(219, 62%, 30%) |
| HSV | hsv(219, 77%, 49%) |
| CMYK | cmyk(76.8%, 49.6%, 0%, 51%) |
| CIE-LAB | lab(27.56, 11.15, -38.78) |
| CIE-LCH | lch(27.56, 40.35, 286.03°) |
| OKLab | oklab(37.92% -0.0172 -0.1113) |
| OKLCH | oklch(37.92% 0.113 261.2) |
| XYZ | xyz(5.9845, 5.2962, 20.1049) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.59
Twilight Blue
#0A437A
ΔE00 3.33
Cobalt (survey)
#1E488F
ΔE00 3.54
Marine Blue
#01386A
ΔE00 4.04
Prussian Blue
#004577
ΔE00 5.00
Marine
#042E60
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3F7D #7D5B1D
analogous
#1D6F7D #1D3F7D #2B1D7D
triadic
#1D3F7D #7D1D3F #3F7D1D
tetradic
#1D3F7D #7D1D6F #7D5B1D #1D7D2B
square
#1D3F7D #7D1D6F #7D5B1D #1D7D2B
split-complementary
#1D3F7D #7D2B1D #6F7D1D
monochromatic
#060D1A #11264B #1D3F7D #2958AF #4175D3
Accessibility & contrast
On white
10.20
#1D3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#1D3F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3F7D
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3F7D | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D467F
Deuteranopia (green-blind)
#023D7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1d3f7d; /* rgb */ color: rgb(29, 63, 125); /* oklch */ color: oklch(37.9% 0.113 261.2);
Tailwind
colors: {
custom: {
50: '#6773a3',
500: '#1d3f7d',
950: '#000000',
},
}SCSS
$custom: #1d3f7d; $custom-light: #6773a3; $custom-dark: #000000;
JSON
{
"hex": "#1d3f7d",
"rgb": {
"r": 29,
"g": 63,
"b": 125
},
"hsl": {
"h": 218.75,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.37919,
"c": 0.11263,
"h": 261.2
},
"luminance": 0.05297
}Semantic roles & 50–950 ramp
primary
#1D3F7D
secondary
#B18B45
accent
#AC42E5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F