#1D378D#1D378D
#1D378D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.146 H 266.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1D378D |
|---|---|
| RGB | rgb(29, 55, 141) |
| HSL | hsl(226, 66%, 33%) |
| HSV | hsv(226, 79%, 55%) |
| CMYK | cmyk(79.4%, 61%, 0%, 44.7%) |
| CIE-LAB | lab(26.49, 23.17, -50.48) |
| CIE-LCH | lch(26.49, 55.54, 294.65°) |
| OKLab | oklab(37.5% -0.0093 -0.1459) |
| OKLCH | oklch(37.5% 0.146 266.3) |
| XYZ | xyz(6.6789, 4.9159, 25.7910) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Darkish Blue
#014182
ΔE00 6.02
Cobalt (survey)
#1E488F
ΔE00 6.03
Blueberry
#464196
ΔE00 6.13
Cobalt
#0047AB
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D378D #8D731D
analogous
#1D6F8D #1D378D #3B1D8D
triadic
#1D378D #8D1D37 #378D1D
tetradic
#1D378D #8D1D6F #8D731D #1D8D3B
square
#1D378D #8D1D6F #8D731D #1D8D3B
split-complementary
#1D378D #8D3B1D #6F8D1D
monochromatic
#080F27 #13235A #1D378D #274BC0 #4B6CDA
Accessibility & contrast
On white
10.59
#1D378D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1D378D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D378D
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D378D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D378D | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1d378d; /* rgb */ color: rgb(29, 55, 141); /* oklch */ color: oklch(37.5% 0.146 266.3);
Tailwind
colors: {
custom: {
50: '#6c6daf',
500: '#1d378d',
950: '#000000',
},
}SCSS
$custom: #1d378d; $custom-light: #6c6daf; $custom-dark: #000000;
JSON
{
"hex": "#1d378d",
"rgb": {
"r": 29,
"g": 55,
"b": 141
},
"hsl": {
"h": 226.071,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.37504,
"c": 0.14616,
"h": 266.3
},
"luminance": 0.04917
}Semantic roles & 50–950 ramp
primary
#1D378D
secondary
#BCA24A
accent
#C13FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F