#1D3F99#1D3F99
#1D3F99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.153 H 264.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3F99 |
|---|---|
| RGB | rgb(29, 63, 153) |
| HSL | hsl(224, 68%, 36%) |
| HSV | hsv(224, 81%, 60%) |
| CMYK | cmyk(81%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(29.70, 22.43, -52.62) |
| CIE-LCH | lch(29.70, 57.20, 293.08°) |
| OKLab | oklab(40.22% -0.0143 -0.152) |
| OKLCH | oklch(40.22% 0.153 264.6) |
| XYZ | xyz(8.0319, 6.1152, 30.8878) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.66
Cobalt (survey)
#1E488F
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 4.11
Darkish Blue
#014182
ΔE00 5.13
Blueberry
#464196
ΔE00 5.96
Twilight Blue
#0A437A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3F99 #99771D
analogous
#1D7D99 #1D3F99 #391D99
triadic
#1D3F99 #991D3F #3F991D
tetradic
#1D3F99 #991D7D #99771D #1D9939
square
#1D3F99 #991D7D #99771D #1D9939
split-complementary
#1D3F99 #99391D #7D991D
monochromatic
#091532 #132A66 #1D3F99 #2754CC #5279DE
Accessibility & contrast
On white
9.45
#1D3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1D3F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3F99
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3F99 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1d3f99; /* rgb */ color: rgb(29, 63, 153); /* oklch */ color: oklch(40.2% 0.153 264.6);
Tailwind
colors: {
custom: {
50: '#6f73b8',
500: '#1d3f99',
950: '#000000',
},
}SCSS
$custom: #1d3f99; $custom-light: #6f73b8; $custom-dark: #000000;
JSON
{
"hex": "#1d3f99",
"rgb": {
"r": 29,
"g": 63,
"b": 153
},
"hsl": {
"h": 223.548,
"s": 68.132,
"l": 35.686
},
"oklch": {
"l": 0.40218,
"c": 0.15268,
"h": 264.6
},
"luminance": 0.06116
}Semantic roles & 50–950 ramp
primary
#1D3F99
secondary
#C1A251
accent
#BB3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80