#1D378C#1D378C
#1D378C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.145 H 266.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1D378C |
|---|---|
| RGB | rgb(29, 55, 140) |
| HSL | hsl(226, 66%, 33%) |
| HSV | hsv(226, 79%, 55%) |
| CMYK | cmyk(79.3%, 60.7%, 0%, 45.1%) |
| CIE-LAB | lab(26.41, 22.77, -50.00) |
| CIE-LCH | lch(26.41, 54.94, 294.48°) |
| OKLab | oklab(37.41% -0.0093 -0.1445) |
| OKLCH | oklch(37.41% 0.145 266.3) |
| XYZ | xyz(6.6048, 4.8863, 25.4009) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.74
Darkish Blue
#014182
ΔE00 5.94
Cobalt (survey)
#1E488F
ΔE00 6.00
Blueberry
#464196
ΔE00 6.18
Cobalt
#0047AB
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D378C #8C721D
analogous
#1D6E8C #1D378C #3A1D8C
triadic
#1D378C #8C1D37 #378C1D
tetradic
#1D378C #8C1D6E #8C721D #1D8C3A
square
#1D378C #8C1D6E #8C721D #1D8C3A
split-complementary
#1D378C #8C3A1D #6E8C1D
monochromatic
#080F27 #122359 #1D378C #284BBF #4A6CD9
Accessibility & contrast
On white
10.62
#1D378C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1D378C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D378C
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D378C | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1d378c; /* rgb */ color: rgb(29, 55, 140); /* oklch */ color: oklch(37.4% 0.145 266.3);
Tailwind
colors: {
custom: {
50: '#6c6dae',
500: '#1d378c',
950: '#000000',
},
}SCSS
$custom: #1d378c; $custom-light: #6c6dae; $custom-dark: #000000;
JSON
{
"hex": "#1d378c",
"rgb": {
"r": 29,
"g": 55,
"b": 140
},
"hsl": {
"h": 225.946,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.37413,
"c": 0.14476,
"h": 266.3
},
"luminance": 0.04887
}Semantic roles & 50–950 ramp
primary
#1D378C
secondary
#BCA149
accent
#C13FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F