#1D4298#1D4298
#1D4298 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.147 H 263.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1D4298 |
|---|---|
| RGB | rgb(29, 66, 152) |
| HSL | hsl(222, 68%, 35%) |
| HSV | hsv(222, 81%, 60%) |
| CMYK | cmyk(80.9%, 56.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.46, 19.97, -50.78) |
| CIE-LCH | lch(30.46, 54.56, 291.47°) |
| OKLab | oklab(40.76% -0.0164 -0.1466) |
| OKLCH | oklch(40.76% 0.147 263.6) |
| XYZ | xyz(8.1204, 6.4237, 30.5116) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.05
Darkish Blue
#014182
ΔE00 4.46
Sapphire (survey)
#2138AB
ΔE00 5.07
Twilight Blue
#0A437A
ΔE00 5.54
Dusk Blue
#26538D
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D4298 #98731D
analogous
#1D7F98 #1D4298 #351D98
triadic
#1D4298 #981D42 #42981D
tetradic
#1D4298 #981D7F #98731D #1D9835
square
#1D4298 #981D7F #98731D #1D9835
split-complementary
#1D4298 #98351D #7F981D
monochromatic
#091531 #132C65 #1D4298 #2758CB #527CDE
Accessibility & contrast
On white
9.19
#1D4298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1D4298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D4298
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D4298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D4298 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1d4298; /* rgb */ color: rgb(29, 66, 152); /* oklch */ color: oklch(40.8% 0.147 263.6);
Tailwind
colors: {
custom: {
50: '#6e75b7',
500: '#1d4298',
950: '#000000',
},
}SCSS
$custom: #1d4298; $custom-light: #6e75b7; $custom-dark: #000000;
JSON
{
"hex": "#1d4298",
"rgb": {
"r": 29,
"g": 66,
"b": 152
},
"hsl": {
"h": 221.951,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.40762,
"c": 0.14747,
"h": 263.6
},
"luminance": 0.06425
}Semantic roles & 50–950 ramp
primary
#1D4298
secondary
#C19F50
accent
#B73DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80