#1D4A8F#1D4A8F
#1D4A8F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.125 H 259.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1D4A8F |
|---|---|
| RGB | rgb(29, 74, 143) |
| HSL | hsl(216, 66%, 34%) |
| HSV | hsv(216, 80%, 56%) |
| CMYK | cmyk(79.7%, 48.3%, 0%, 43.9%) |
| CIE-LAB | lab(32.13, 10.87, -42.59) |
| CIE-LCH | lch(32.13, 43.95, 284.32°) |
| OKLab | oklab(41.83% -0.0238 -0.1223) |
| OKLCH | oklch(41.83% 0.125 259) |
| XYZ | xyz(7.9116, 7.1410, 26.9427) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.82
Dusk Blue
#26538D
ΔE00 3.09
Darkish Blue
#014182
ΔE00 3.38
Twilight Blue
#0A437A
ΔE00 3.73
Cobalt
#0047AB
ΔE00 3.93
Light Navy
#155084
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D4A8F #8F621D
analogous
#1D838F #1D4A8F #291D8F
triadic
#1D4A8F #8F1D4A #4A8F1D
tetradic
#1D4A8F #8F1D83 #8F621D #1D8F29
square
#1D4A8F #8F1D83 #8F621D #1D8F29
split-complementary
#1D4A8F #8F291D #838F1D
monochromatic
#081529 #13305C #1D4A8F #2764C2 #4C84DB
Accessibility & contrast
On white
8.65
#1D4A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1D4A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D4A8F
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D4A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D4A8F | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#03478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1d4a8f; /* rgb */ color: rgb(29, 74, 143); /* oklch */ color: oklch(41.8% 0.125 259.0);
Tailwind
colors: {
custom: {
50: '#6b7bb0',
500: '#1d4a8f',
950: '#000000',
},
}SCSS
$custom: #1d4a8f; $custom-light: #6b7bb0; $custom-dark: #000000;
JSON
{
"hex": "#1d4a8f",
"rgb": {
"r": 29,
"g": 74,
"b": 143
},
"hsl": {
"h": 216.316,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.41825,
"c": 0.12459,
"h": 259
},
"luminance": 0.07142
}Semantic roles & 50–950 ramp
primary
#1D4A8F
secondary
#BD904B
accent
#A63FE9
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F