#1D3F9F#1D3F9F
#1D3F9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.161 H 265.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3F9F |
|---|---|
| RGB | rgb(29, 63, 159) |
| HSL | hsl(224, 69%, 37%) |
| HSV | hsv(224, 82%, 62%) |
| CMYK | cmyk(81.8%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.20, 24.80, -55.44) |
| CIE-LCH | lch(30.20, 60.74, 294.10°) |
| OKLab | oklab(40.75% -0.0141 -0.1603) |
| OKLCH | oklch(40.75% 0.161 265) |
| XYZ | xyz(8.5400, 6.3184, 33.5636) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.36
Cobalt
#0047AB
ΔE00 3.44
Cobalt (survey)
#1E488F
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 5.71
Blueberry
#464196
ΔE00 5.83
Darkish Blue
#014182
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3F9F #9F7D1D
analogous
#1D809F #1D3F9F #3C1D9F
triadic
#1D3F9F #9F1D3F #3F9F1D
tetradic
#1D3F9F #9F1D80 #9F7D1D #1D9F3C
square
#1D3F9F #9F1D80 #9F7D1D #1D9F3C
split-complementary
#1D3F9F #9F3C1D #809F1D
monochromatic
#0A1637 #142A6B #1D3F9F #2654D3 #567AE0
Accessibility & contrast
On white
9.28
#1D3F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1D3F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3F9F
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3F9F | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1d3f9f; /* rgb */ color: rgb(29, 63, 159); /* oklch */ color: oklch(40.7% 0.161 265.0);
Tailwind
colors: {
custom: {
50: '#7073bc',
500: '#1d3f9f',
950: '#000000',
},
}SCSS
$custom: #1d3f9f; $custom-light: #7073bc; $custom-dark: #000000;
JSON
{
"hex": "#1d3f9f",
"rgb": {
"r": 29,
"g": 63,
"b": 159
},
"hsl": {
"h": 224.308,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.40749,
"c": 0.16093,
"h": 265
},
"luminance": 0.06319
}Semantic roles & 50–950 ramp
primary
#1D3F9F
secondary
#C4A654
accent
#BE3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81