#1D398F#1D398F
#1D398F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.146 H 265.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1D398F |
|---|---|
| RGB | rgb(29, 57, 143) |
| HSL | hsl(225, 66%, 34%) |
| HSV | hsv(225, 80%, 56%) |
| CMYK | cmyk(79.7%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(27.21, 22.58, -50.54) |
| CIE-LCH | lch(27.21, 55.36, 294.07°) |
| OKLab | oklab(38.09% -0.0106 -0.146) |
| OKLCH | oklch(38.09% 0.146 265.8) |
| XYZ | xyz(6.9260, 5.1698, 26.6141) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 5.41
Darkish Blue
#014182
ΔE00 5.58
Cobalt
#0047AB
ΔE00 5.79
Blueberry
#464196
ΔE00 6.02
Twilight Blue
#0A437A
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D398F #8F731D
analogous
#1D728F #1D398F #3A1D8F
triadic
#1D398F #8F1D39 #398F1D
tetradic
#1D398F #8F1D72 #8F731D #1D8F3A
square
#1D398F #8F1D72 #8F731D #1D8F3A
split-complementary
#1D398F #8F3A1D #728F1D
monochromatic
#081029 #13255C #1D398F #274DC2 #4C6FDB
Accessibility & contrast
On white
10.32
#1D398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1D398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D398F
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D398F | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1d398f; /* rgb */ color: rgb(29, 57, 143); /* oklch */ color: oklch(38.1% 0.146 265.8);
Tailwind
colors: {
custom: {
50: '#6c6fb1',
500: '#1d398f',
950: '#000000',
},
}SCSS
$custom: #1d398f; $custom-light: #6c6fb1; $custom-dark: #000000;
JSON
{
"hex": "#1d398f",
"rgb": {
"r": 29,
"g": 57,
"b": 143
},
"hsl": {
"h": 225.263,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.38094,
"c": 0.14641,
"h": 265.8
},
"luminance": 0.05171
}Semantic roles & 50–950 ramp
primary
#1D398F
secondary
#BDA14B
accent
#BF3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80