#1D378F#1D378F
#1D378F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.149 H 266.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1D378F |
|---|---|
| RGB | rgb(29, 55, 143) |
| HSL | hsl(226, 66%, 34%) |
| HSV | hsv(226, 80%, 56%) |
| CMYK | cmyk(79.7%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(26.67, 23.96, -51.44) |
| CIE-LCH | lch(26.67, 56.74, 294.97°) |
| OKLab | oklab(37.69% -0.0093 -0.1487) |
| OKLCH | oklch(37.69% 0.149 266.4) |
| XYZ | xyz(6.8291, 4.9760, 26.5818) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 6.03
Cobalt (survey)
#1E488F
ΔE00 6.11
Darkish Blue
#014182
ΔE00 6.18
Cobalt
#0047AB
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D378F #8F751D
analogous
#1D708F #1D378F #3C1D8F
triadic
#1D378F #8F1D37 #378F1D
tetradic
#1D378F #8F1D70 #8F751D #1D8F3C
square
#1D378F #8F1D70 #8F751D #1D8F3C
split-complementary
#1D378F #8F3C1D #708F1D
monochromatic
#081029 #13235C #1D378F #274BC2 #4C6CDB
Accessibility & contrast
On white
10.52
#1D378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#1D378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D378F
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D378F | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1d378f; /* rgb */ color: rgb(29, 55, 143); /* oklch */ color: oklch(37.7% 0.149 266.4);
Tailwind
colors: {
custom: {
50: '#6d6db1',
500: '#1d378f',
950: '#000000',
},
}SCSS
$custom: #1d378f; $custom-light: #6d6db1; $custom-dark: #000000;
JSON
{
"hex": "#1d378f",
"rgb": {
"r": 29,
"g": 55,
"b": 143
},
"hsl": {
"h": 226.316,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.37686,
"c": 0.14896,
"h": 266.4
},
"luminance": 0.04977
}Semantic roles & 50–950 ramp
primary
#1D378F
secondary
#BDA34B
accent
#C23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80