#1D337F#1D337F
#1D337F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.131 H 267.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1D337F |
|---|---|
| RGB | rgb(29, 51, 127) |
| HSL | hsl(227, 63%, 31%) |
| HSV | hsv(227, 77%, 50%) |
| CMYK | cmyk(77.2%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(24.20, 20.37, -45.49) |
| CIE-LCH | lch(24.20, 49.84, 294.13°) |
| OKLab | oklab(35.42% -0.0068 -0.1313) |
| OKLCH | oklch(35.42% 0.131 267) |
| XYZ | xyz(5.5200, 4.1606, 20.5867) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.77
Marine Blue
#01386A
ΔE00 6.23
Darkish Blue
#014182
ΔE00 6.50
Sapphire (survey)
#2138AB
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 7.12
Blueberry
#464196
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D337F #7F691D
analogous
#1D647F #1D337F #381D7F
triadic
#1D337F #7F1D33 #337F1D
tetradic
#1D337F #7F1D64 #7F691D #1D7F38
square
#1D337F #7F1D64 #7F691D #1D7F38
split-complementary
#1D337F #7F381D #647F1D
monochromatic
#060B1B #121F4D #1D337F #2847B1 #4263D4
Accessibility & contrast
On white
11.46
#1D337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1D337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D337F
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D337F | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1d337f; /* rgb */ color: rgb(29, 51, 127); /* oklch */ color: oklch(35.4% 0.131 267.0);
Tailwind
colors: {
custom: {
50: '#696aa5',
500: '#1d337f',
950: '#000000',
},
}SCSS
$custom: #1d337f; $custom-light: #696aa5; $custom-dark: #000000;
JSON
{
"hex": "#1d337f",
"rgb": {
"r": 29,
"g": 51,
"b": 127
},
"hsl": {
"h": 226.531,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.35415,
"c": 0.13144,
"h": 267
},
"luminance": 0.04161
}Semantic roles & 50–950 ramp
primary
#1D337F
secondary
#B29A45
accent
#C142E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F