#1D4C8F#1D4C8F
#1D4C8F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.3% C 0.122 H 257.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1D4C8F |
|---|---|
| RGB | rgb(29, 76, 143) |
| HSL | hsl(215, 66%, 34%) |
| HSV | hsv(215, 80%, 56%) |
| CMYK | cmyk(79.7%, 46.9%, 0%, 43.9%) |
| CIE-LAB | lab(32.73, 9.52, -41.62) |
| CIE-LCH | lch(32.73, 42.69, 282.88°) |
| OKLab | oklab(42.29% -0.0255 -0.1194) |
| OKLCH | oklch(42.29% 0.122 257.9) |
| XYZ | xyz(8.0472, 7.4123, 26.9879) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.57
Dusk Blue
#26538D
ΔE00 2.38
Light Navy
#155084
ΔE00 3.32
Darkish Blue
#014182
ΔE00 3.79
Twilight Blue
#0A437A
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D4C8F #8F601D
analogous
#1D858F #1D4C8F #271D8F
triadic
#1D4C8F #8F1D4C #4C8F1D
tetradic
#1D4C8F #8F1D85 #8F601D #1D8F27
square
#1D4C8F #8F1D85 #8F601D #1D8F27
split-complementary
#1D4C8F #8F271D #858F1D
monochromatic
#081629 #13315C #1D4C8F #2767C2 #4C87DB
Accessibility & contrast
On white
8.46
#1D4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#1D4C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D4C8F
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D4C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D4C8F | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#0D488E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1d4c8f; /* rgb */ color: rgb(29, 76, 143); /* oklch */ color: oklch(42.3% 0.122 257.9);
Tailwind
colors: {
custom: {
50: '#6b7db0',
500: '#1d4c8f',
950: '#000000',
},
}SCSS
$custom: #1d4c8f; $custom-light: #6b7db0; $custom-dark: #000000;
JSON
{
"hex": "#1d4c8f",
"rgb": {
"r": 29,
"g": 76,
"b": 143
},
"hsl": {
"h": 215.263,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.42288,
"c": 0.1221,
"h": 257.9
},
"luminance": 0.07413
}Semantic roles & 50–950 ramp
primary
#1D4C8F
secondary
#BD8E4B
accent
#A33FE9
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F