#1D408F#1D408F
#1D408F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.137 H 263.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1D408F |
|---|---|
| RGB | rgb(29, 64, 143) |
| HSL | hsl(222, 66%, 34%) |
| HSV | hsv(222, 80%, 56%) |
| CMYK | cmyk(79.7%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(29.18, 17.74, -47.34) |
| CIE-LCH | lch(29.18, 50.55, 290.54°) |
| OKLab | oklab(39.58% -0.0157 -0.1365) |
| OKLCH | oklch(39.58% 0.137 263.4) |
| XYZ | xyz(7.2962, 5.9103, 26.7375) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.91
Darkish Blue
#014182
ΔE00 3.72
Cobalt
#0047AB
ΔE00 4.24
Twilight Blue
#0A437A
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 5.75
Marine Blue
#01386A
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D408F #8F6C1D
analogous
#1D798F #1D408F #331D8F
triadic
#1D408F #8F1D40 #408F1D
tetradic
#1D408F #8F1D79 #8F6C1D #1D8F33
square
#1D408F #8F1D79 #8F6C1D #1D8F33
split-complementary
#1D408F #8F331D #798F1D
monochromatic
#081229 #13295C #1D408F #2757C2 #4C78DB
Accessibility & contrast
On white
9.62
#1D408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1D408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D408F
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D408F | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1d408f; /* rgb */ color: rgb(29, 64, 143); /* oklch */ color: oklch(39.6% 0.137 263.4);
Tailwind
colors: {
custom: {
50: '#6c74b0',
500: '#1d408f',
950: '#000000',
},
}SCSS
$custom: #1d408f; $custom-light: #6c74b0; $custom-dark: #000000;
JSON
{
"hex": "#1d408f",
"rgb": {
"r": 29,
"g": 64,
"b": 143
},
"hsl": {
"h": 221.579,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.39578,
"c": 0.13737,
"h": 263.4
},
"luminance": 0.05911
}Semantic roles & 50–950 ramp
primary
#1D408F
secondary
#BD9A4B
accent
#B53FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80