#1D389D#1D389D
#1D389D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.167 H 266.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1D389D |
|---|---|
| RGB | rgb(29, 56, 157) |
| HSL | hsl(227, 69%, 36%) |
| HSV | hsv(227, 82%, 62%) |
| CMYK | cmyk(81.5%, 64.3%, 0%, 38.4%) |
| CIE-LAB | lab(28.18, 28.75, -57.55) |
| CIE-LCH | lch(28.18, 64.33, 296.55°) |
| OKLab | oklab(39.19% -0.0099 -0.1666) |
| OKLCH | oklch(39.19% 0.167 266.6) |
| XYZ | xyz(8.0045, 5.5229, 32.5359) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.19
Cobalt
#0047AB
ΔE00 5.56
Blueberry
#464196
ΔE00 5.72
Blue Blue
#2242C7
ΔE00 6.27
Cobalt (survey)
#1E488F
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D389D #9D821D
analogous
#1D789D #1D389D #421D9D
triadic
#1D389D #9D1D38 #389D1D
tetradic
#1D389D #9D1D78 #9D821D #1D9D42
square
#1D389D #9D1D78 #9D821D #1D9D42
split-complementary
#1D389D #9D421D #789D1D
monochromatic
#0A1336 #132669 #1D389D #274AD1 #5572E0
Accessibility & contrast
On white
9.98
#1D389D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1D389D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D389D
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D389D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D389D | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1d389d; /* rgb */ color: rgb(29, 56, 157); /* oklch */ color: oklch(39.2% 0.167 266.6);
Tailwind
colors: {
custom: {
50: '#706ebb',
500: '#1d389d',
950: '#000000',
},
}SCSS
$custom: #1d389d; $custom-light: #706ebb; $custom-dark: #000000;
JSON
{
"hex": "#1d389d",
"rgb": {
"r": 29,
"g": 56,
"b": 157
},
"hsl": {
"h": 227.344,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.39189,
"c": 0.16686,
"h": 266.6
},
"luminance": 0.05524
}Semantic roles & 50–950 ramp
primary
#1D389D
secondary
#C3AB53
accent
#C73CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81