#1D388F#1D388F
#1D388F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.148 H 266.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1D388F |
|---|---|
| RGB | rgb(29, 56, 143) |
| HSL | hsl(226, 66%, 34%) |
| HSV | hsv(226, 80%, 56%) |
| CMYK | cmyk(79.7%, 60.8%, 0%, 43.9%) |
| CIE-LAB | lab(26.94, 23.27, -50.99) |
| CIE-LCH | lch(26.94, 56.05, 294.53°) |
| OKLab | oklab(37.89% -0.0099 -0.1473) |
| OKLCH | oklch(37.89% 0.148 266.1) |
| XYZ | xyz(6.8771, 5.0719, 26.5978) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 5.76
Darkish Blue
#014182
ΔE00 5.88
Blueberry
#464196
ΔE00 6.01
Cobalt
#0047AB
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D388F #8F741D
analogous
#1D718F #1D388F #3B1D8F
triadic
#1D388F #8F1D38 #388F1D
tetradic
#1D388F #8F1D71 #8F741D #1D8F3B
square
#1D388F #8F1D71 #8F741D #1D8F3B
split-complementary
#1D388F #8F3B1D #718F1D
monochromatic
#081029 #13245C #1D388F #274CC2 #4C6EDB
Accessibility & contrast
On white
10.42
#1D388F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1D388F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D388F
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D388F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D388F | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1d388f; /* rgb */ color: rgb(29, 56, 143); /* oklch */ color: oklch(37.9% 0.148 266.1);
Tailwind
colors: {
custom: {
50: '#6d6eb1',
500: '#1d388f',
950: '#000000',
},
}SCSS
$custom: #1d388f; $custom-light: #6d6eb1; $custom-dark: #000000;
JSON
{
"hex": "#1d388f",
"rgb": {
"r": 29,
"g": 56,
"b": 143
},
"hsl": {
"h": 225.789,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.37889,
"c": 0.14769,
"h": 266.1
},
"luminance": 0.05073
}Semantic roles & 50–950 ramp
primary
#1D388F
secondary
#BDA24B
accent
#C13FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80