#1D4387#1D4387
#1D4387 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.122 H 261.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1D4387 |
|---|---|
| RGB | rgb(29, 67, 135) |
| HSL | hsl(218, 65%, 32%) |
| HSV | hsv(218, 79%, 53%) |
| CMYK | cmyk(78.5%, 50.4%, 0%, 47.1%) |
| CIE-LAB | lab(29.47, 12.43, -41.93) |
| CIE-LCH | lch(29.47, 43.74, 286.51°) |
| OKLab | oklab(39.61% -0.0191 -0.1205) |
| OKLCH | oklch(39.61% 0.122 261) |
| XYZ | xyz(6.8854, 6.0240, 23.7168) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.83
Darkish Blue
#014182
ΔE00 2.35
Twilight Blue
#0A437A
ΔE00 3.25
Prussian Blue
#004577
ΔE00 4.78
Cobalt
#0047AB
ΔE00 4.82
Marine Blue
#01386A
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D4387 #87611D
analogous
#1D7887 #1D4387 #2C1D87
triadic
#1D4387 #871D43 #43871D
tetradic
#1D4387 #871D78 #87611D #1D872C
square
#1D4387 #871D78 #87611D #1D872C
split-complementary
#1D4387 #872C1D #78871D
monochromatic
#071122 #122A55 #1D4387 #285CB9 #477BD7
Accessibility & contrast
On white
9.52
#1D4387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1D4387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D4387
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D4387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D4387 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1d4387; /* rgb */ color: rgb(29, 67, 135); /* oklch */ color: oklch(39.6% 0.122 261.0);
Tailwind
colors: {
custom: {
50: '#6a76aa',
500: '#1d4387',
950: '#000000',
},
}SCSS
$custom: #1d4387; $custom-light: #6a76aa; $custom-dark: #000000;
JSON
{
"hex": "#1d4387",
"rgb": {
"r": 29,
"g": 67,
"b": 135
},
"hsl": {
"h": 218.491,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.39609,
"c": 0.12203,
"h": 261
},
"luminance": 0.06025
}Semantic roles & 50–950 ramp
primary
#1D4387
secondary
#B99046
accent
#AC40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F