#1D399D#1D399D
#1D399D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.166 H 266.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1D399D |
|---|---|
| RGB | rgb(29, 57, 157) |
| HSL | hsl(227, 69%, 36%) |
| HSV | hsv(227, 82%, 62%) |
| CMYK | cmyk(81.5%, 63.7%, 0%, 38.4%) |
| CIE-LAB | lab(28.43, 28.08, -57.12) |
| CIE-LCH | lch(28.43, 63.65, 296.18°) |
| OKLab | oklab(39.38% -0.0105 -0.1653) |
| OKLCH | oklch(39.38% 0.166 266.4) |
| XYZ | xyz(8.0535, 5.6208, 32.5522) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.29
Cobalt
#0047AB
ΔE00 5.26
Blueberry
#464196
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.19
Cobalt (survey)
#1E488F
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D399D #9D811D
analogous
#1D799D #1D399D #411D9D
triadic
#1D399D #9D1D39 #399D1D
tetradic
#1D399D #9D1D79 #9D811D #1D9D41
square
#1D399D #9D1D79 #9D811D #1D9D41
split-complementary
#1D399D #9D411D #799D1D
monochromatic
#0A1336 #132669 #1D399D #274CD1 #5573E0
Accessibility & contrast
On white
9.89
#1D399D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1D399D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D399D
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D399D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D399D | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1d399d; /* rgb */ color: rgb(29, 57, 157); /* oklch */ color: oklch(39.4% 0.166 266.4);
Tailwind
colors: {
custom: {
50: '#706fbb',
500: '#1d399d',
950: '#000000',
},
}SCSS
$custom: #1d399d; $custom-light: #706fbb; $custom-dark: #000000;
JSON
{
"hex": "#1d399d",
"rgb": {
"r": 29,
"g": 57,
"b": 157
},
"hsl": {
"h": 226.875,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.39381,
"c": 0.16563,
"h": 266.4
},
"luminance": 0.05622
}Semantic roles & 50–950 ramp
primary
#1D399D
secondary
#C3AA53
accent
#C53CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81