#1D478C#1D478C
#1D478C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 40.9% C 0.124 H 259.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1D478C |
|---|---|
| RGB | rgb(29, 71, 140) |
| HSL | hsl(217, 66%, 33%) |
| HSV | hsv(217, 79%, 55%) |
| CMYK | cmyk(79.3%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.02, 11.71, -42.53) |
| CIE-LCH | lch(31.02, 44.11, 285.39°) |
| OKLab | oklab(40.91% -0.0218 -0.1222) |
| OKLCH | oklch(40.91% 0.124 259.9) |
| XYZ | xyz(7.4918, 6.6603, 25.6966) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.49
Darkish Blue
#014182
ΔE00 2.74
Twilight Blue
#0A437A
ΔE00 3.36
Dusk Blue
#26538D
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.09
Prussian Blue
#004577
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D478C #8C621D
analogous
#1D7E8C #1D478C #2A1D8C
triadic
#1D478C #8C1D47 #478C1D
tetradic
#1D478C #8C1D7E #8C621D #1D8C2A
square
#1D478C #8C1D7E #8C621D #1D8C2A
split-complementary
#1D478C #8C2A1D #7E8C1D
monochromatic
#081427 #122D59 #1D478C #2861BF #4A80D9
Accessibility & contrast
On white
9.00
#1D478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1D478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D478C
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D478C | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1d478c; /* rgb */ color: rgb(29, 71, 140); /* oklch */ color: oklch(40.9% 0.124 259.9);
Tailwind
colors: {
custom: {
50: '#6b79ae',
500: '#1d478c',
950: '#000000',
},
}SCSS
$custom: #1d478c; $custom-light: #6b79ae; $custom-dark: #000000;
JSON
{
"hex": "#1d478c",
"rgb": {
"r": 29,
"g": 71,
"b": 140
},
"hsl": {
"h": 217.297,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.40909,
"c": 0.1241,
"h": 259.9
},
"luminance": 0.06661
}Semantic roles & 50–950 ramp
primary
#1D478C
secondary
#BC9049
accent
#A93FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F