#1D418F#1D418F
#1D418F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.136 H 263.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1D418F |
|---|---|
| RGB | rgb(29, 65, 143) |
| HSL | hsl(221, 66%, 34%) |
| HSV | hsv(221, 80%, 56%) |
| CMYK | cmyk(79.7%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(29.47, 17.04, -46.87) |
| CIE-LCH | lch(29.47, 49.87, 289.98°) |
| OKLab | oklab(39.8% -0.0165 -0.1351) |
| OKLCH | oklch(39.8% 0.136 263) |
| XYZ | xyz(7.3531, 6.0241, 26.7565) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.54
Darkish Blue
#014182
ΔE00 3.51
Cobalt
#0047AB
ΔE00 4.09
Twilight Blue
#0A437A
ΔE00 4.62
Sapphire (survey)
#2138AB
ΔE00 5.99
Prussian Blue
#004577
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D418F #8F6B1D
analogous
#1D7A8F #1D418F #321D8F
triadic
#1D418F #8F1D41 #418F1D
tetradic
#1D418F #8F1D7A #8F6B1D #1D8F32
square
#1D418F #8F1D7A #8F6B1D #1D8F32
split-complementary
#1D418F #8F321D #7A8F1D
monochromatic
#081329 #132A5C #1D418F #2758C2 #4C79DB
Accessibility & contrast
On white
9.52
#1D418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1D418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D418F
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D418F | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1d418f; /* rgb */ color: rgb(29, 65, 143); /* oklch */ color: oklch(39.8% 0.136 263.0);
Tailwind
colors: {
custom: {
50: '#6c75b0',
500: '#1d418f',
950: '#000000',
},
}SCSS
$custom: #1d418f; $custom-light: #6c75b0; $custom-dark: #000000;
JSON
{
"hex": "#1d418f",
"rgb": {
"r": 29,
"g": 65,
"b": 143
},
"hsl": {
"h": 221.053,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.39797,
"c": 0.13609,
"h": 263
},
"luminance": 0.06025
}Semantic roles & 50–950 ramp
primary
#1D418F
secondary
#BD994B
accent
#B33FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80