#1D4998#1D4998
#1D4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.139 H 261.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1D4998 |
|---|---|
| RGB | rgb(29, 73, 152) |
| HSL | hsl(219, 68%, 35%) |
| HSV | hsv(219, 81%, 60%) |
| CMYK | cmyk(80.9%, 52%, 0%, 40.4%) |
| CIE-LAB | lab(32.46, 15.18, -47.53) |
| CIE-LCH | lch(32.46, 49.89, 287.71°) |
| OKLab | oklab(42.29% -0.0216 -0.1368) |
| OKLCH | oklch(42.29% 0.139 261) |
| XYZ | xyz(8.5547, 7.2923, 30.6564) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.24
Cobalt
#0047AB
ΔE00 2.65
Dusk Blue
#26538D
ΔE00 3.97
Darkish Blue
#014182
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D4998 #986C1D
analogous
#1D8698 #1D4998 #2F1D98
triadic
#1D4998 #981D49 #49981D
tetradic
#1D4998 #981D86 #986C1D #1D982F
square
#1D4998 #981D86 #986C1D #1D982F
split-complementary
#1D4998 #982F1D #86981D
monochromatic
#091831 #133065 #1D4998 #2762CB #5284DE
Accessibility & contrast
On white
8.54
#1D4998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1D4998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D4998
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D4998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D4998 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1d4998; /* rgb */ color: rgb(29, 73, 152); /* oklch */ color: oklch(42.3% 0.139 261.0);
Tailwind
colors: {
custom: {
50: '#6e7bb7',
500: '#1d4998',
950: '#000000',
},
}SCSS
$custom: #1d4998; $custom-light: #6e7bb7; $custom-dark: #000000;
JSON
{
"hex": "#1d4998",
"rgb": {
"r": 29,
"g": 73,
"b": 152
},
"hsl": {
"h": 218.537,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.42285,
"c": 0.13855,
"h": 261
},
"luminance": 0.07293
}Semantic roles & 50–950 ramp
primary
#1D4998
secondary
#C19850
accent
#AD3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80