#1D408C#1D408C
#1D408C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.133 H 263.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1D408C |
|---|---|
| RGB | rgb(29, 64, 140) |
| HSL | hsl(221, 66%, 33%) |
| HSV | hsv(221, 79%, 55%) |
| CMYK | cmyk(79.3%, 54.3%, 0%, 45.1%) |
| CIE-LAB | lab(28.96, 16.53, -45.86) |
| CIE-LCH | lch(28.96, 48.75, 289.82°) |
| OKLab | oklab(39.33% -0.016 -0.1321) |
| OKLCH | oklch(39.33% 0.133 263.1) |
| XYZ | xyz(7.0720, 5.8206, 25.5566) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.80
Darkish Blue
#014182
ΔE00 3.39
Twilight Blue
#0A437A
ΔE00 4.50
Cobalt
#0047AB
ΔE00 4.56
Marine Blue
#01386A
ΔE00 5.83
Prussian Blue
#004577
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D408C #8C691D
analogous
#1D778C #1D408C #311D8C
triadic
#1D408C #8C1D40 #408C1D
tetradic
#1D408C #8C1D77 #8C691D #1D8C31
square
#1D408C #8C1D77 #8C691D #1D8C31
split-complementary
#1D408C #8C311D #778C1D
monochromatic
#081227 #122959 #1D408C #2857BF #4A77D9
Accessibility & contrast
On white
9.70
#1D408C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1D408C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D408C
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D408C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D408C | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074A8F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1d408c; /* rgb */ color: rgb(29, 64, 140); /* oklch */ color: oklch(39.3% 0.133 263.1);
Tailwind
colors: {
custom: {
50: '#6b74ae',
500: '#1d408c',
950: '#000000',
},
}SCSS
$custom: #1d408c; $custom-light: #6b74ae; $custom-dark: #000000;
JSON
{
"hex": "#1d408c",
"rgb": {
"r": 29,
"g": 64,
"b": 140
},
"hsl": {
"h": 221.081,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.39331,
"c": 0.1331,
"h": 263.1
},
"luminance": 0.05821
}Semantic roles & 50–950 ramp
primary
#1D408C
secondary
#BC9849
accent
#B33FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F