#1D388C#1D388C
#1D388C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.143 H 266.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1D388C |
|---|---|
| RGB | rgb(29, 56, 140) |
| HSL | hsl(225, 66%, 33%) |
| HSV | hsv(225, 79%, 55%) |
| CMYK | cmyk(79.3%, 60%, 0%, 45.1%) |
| CIE-LAB | lab(26.68, 22.08, -49.55) |
| CIE-LCH | lch(26.68, 54.25, 294.01°) |
| OKLab | oklab(37.62% -0.01 -0.1431) |
| OKLCH | oklch(37.62% 0.143 266) |
| XYZ | xyz(6.6528, 4.9823, 25.4169) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Darkish Blue
#014182
ΔE00 5.63
Cobalt (survey)
#1E488F
ΔE00 5.65
Blueberry
#464196
ΔE00 6.18
Cobalt
#0047AB
ΔE00 6.24
Marine Blue
#01386A
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D388C #8C711D
analogous
#1D6F8C #1D388C #391D8C
triadic
#1D388C #8C1D38 #388C1D
tetradic
#1D388C #8C1D6F #8C711D #1D8C39
square
#1D388C #8C1D6F #8C711D #1D8C39
split-complementary
#1D388C #8C391D #6F8C1D
monochromatic
#080F27 #122459 #1D388C #284CBF #4A6DD9
Accessibility & contrast
On white
10.52
#1D388C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#1D388C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D388C
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D388C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D388C | 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)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1d388c; /* rgb */ color: rgb(29, 56, 140); /* oklch */ color: oklch(37.6% 0.143 266.0);
Tailwind
colors: {
custom: {
50: '#6c6eae',
500: '#1d388c',
950: '#000000',
},
}SCSS
$custom: #1d388c; $custom-light: #6c6eae; $custom-dark: #000000;
JSON
{
"hex": "#1d388c",
"rgb": {
"r": 29,
"g": 56,
"b": 140
},
"hsl": {
"h": 225.405,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.37619,
"c": 0.14347,
"h": 266
},
"luminance": 0.04983
}Semantic roles & 50–950 ramp
primary
#1D388C
secondary
#BCA049
accent
#BF3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F