#1D3D9F#1D3D9F
#1D3D9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.163 H 265.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3D9F |
|---|---|
| RGB | rgb(29, 61, 159) |
| HSL | hsl(225, 69%, 37%) |
| HSV | hsv(225, 82%, 62%) |
| CMYK | cmyk(81.8%, 61.6%, 0%, 37.6%) |
| CIE-LAB | lab(29.67, 26.16, -56.32) |
| CIE-LCH | lch(29.67, 62.10, 294.91°) |
| OKLab | oklab(40.35% -0.0128 -0.1629) |
| OKLCH | oklch(40.35% 0.163 265.5) |
| XYZ | xyz(8.4312, 6.1009, 33.5274) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Cobalt
#0047AB
ΔE00 4.03
Cobalt (survey)
#1E488F
ΔE00 5.16
Blueberry
#464196
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.71
Darkish Blue
#014182
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3D9F #9F7F1D
analogous
#1D7E9F #1D3D9F #3E1D9F
triadic
#1D3D9F #9F1D3D #3D9F1D
tetradic
#1D3D9F #9F1D7E #9F7F1D #1D9F3E
square
#1D3D9F #9F1D7E #9F7F1D #1D9F3E
split-complementary
#1D3D9F #9F3E1D #7E9F1D
monochromatic
#0A1537 #14296B #1D3D9F #2651D3 #5678E0
Accessibility & contrast
On white
9.46
#1D3D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1D3D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3D9F
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3D9F | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1d3d9f; /* rgb */ color: rgb(29, 61, 159); /* oklch */ color: oklch(40.3% 0.163 265.5);
Tailwind
colors: {
custom: {
50: '#7072bc',
500: '#1d3d9f',
950: '#000000',
},
}SCSS
$custom: #1d3d9f; $custom-light: #7072bc; $custom-dark: #000000;
JSON
{
"hex": "#1d3d9f",
"rgb": {
"r": 29,
"g": 61,
"b": 159
},
"hsl": {
"h": 225.231,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.40349,
"c": 0.16342,
"h": 265.5
},
"luminance": 0.06102
}Semantic roles & 50–950 ramp
primary
#1D3D9F
secondary
#C4A854
accent
#C13CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81