#1D4C98#1D4C98
#1D4C98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.135 H 259.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1D4C98 |
|---|---|
| RGB | rgb(29, 76, 152) |
| HSL | hsl(217, 68%, 35%) |
| HSV | hsv(217, 81%, 60%) |
| CMYK | cmyk(80.9%, 50%, 0%, 40.4%) |
| CIE-LAB | lab(33.34, 13.14, -46.11) |
| CIE-LCH | lch(33.34, 47.94, 285.91°) |
| OKLab | oklab(42.96% -0.024 -0.1326) |
| OKLCH | oklch(42.96% 0.135 259.7) |
| XYZ | xyz(8.7566, 7.6961, 30.7237) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Dusk Blue
#26538D
ΔE00 2.96
Cobalt
#0047AB
ΔE00 3.14
Light Navy
#155084
ΔE00 4.28
Darkish Blue
#014182
ΔE00 4.47
Sapphire
#0F52BA
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D4C98 #98691D
analogous
#1D8998 #1D4C98 #2B1D98
triadic
#1D4C98 #981D4C #4C981D
tetradic
#1D4C98 #981D89 #98691D #1D982B
square
#1D4C98 #981D89 #98691D #1D982B
split-complementary
#1D4C98 #982B1D #89981D
monochromatic
#091931 #133265 #1D4C98 #2766CB #5287DE
Accessibility & contrast
On white
8.27
#1D4C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#1D4C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D4C98
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D4C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D4C98 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1d4c98; /* rgb */ color: rgb(29, 76, 152); /* oklch */ color: oklch(43.0% 0.135 259.7);
Tailwind
colors: {
custom: {
50: '#6e7db7',
500: '#1d4c98',
950: '#000000',
},
}SCSS
$custom: #1d4c98; $custom-light: #6e7db7; $custom-dark: #000000;
JSON
{
"hex": "#1d4c98",
"rgb": {
"r": 29,
"g": 76,
"b": 152
},
"hsl": {
"h": 217.073,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.42958,
"c": 0.13478,
"h": 259.7
},
"luminance": 0.07697
}Semantic roles & 50–950 ramp
primary
#1D4C98
secondary
#C19650
accent
#A83DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80