#1D337C#1D337C
#1D337C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.127 H 266.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1D337C |
|---|---|
| RGB | rgb(29, 51, 124) |
| HSL | hsl(226, 62%, 30%) |
| HSV | hsv(226, 77%, 49%) |
| CMYK | cmyk(76.6%, 58.9%, 0%, 51.4%) |
| CIE-LAB | lab(23.95, 19.17, -44.00) |
| CIE-LCH | lch(23.95, 48.00, 293.54°) |
| OKLab | oklab(35.15% -0.0069 -0.1269) |
| OKLCH | oklch(35.15% 0.127 266.9) |
| XYZ | xyz(5.3273, 4.0835, 19.5723) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.35
Marine Blue
#01386A
ΔE00 5.93
Darkish Blue
#014182
ΔE00 6.41
Sapphire (survey)
#2138AB
ΔE00 7.12
Cobalt (survey)
#1E488F
ΔE00 7.26
Darkslateblue
#483D8B
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D337C #7C661D
analogous
#1D637C #1D337C #361D7C
triadic
#1D337C #7C1D33 #337C1D
tetradic
#1D337C #7C1D63 #7C661D #1D7C36
square
#1D337C #7C1D63 #7C661D #1D7C36
split-complementary
#1D337C #7C361D #637C1D
monochromatic
#060A19 #111F4A #1D337C #2947AE #4163D3
Accessibility & contrast
On white
11.56
#1D337C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1D337C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D337C
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D337C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D337C | 1.00 | 11.56 | 1.82 | 11.56 |
| #FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1d337c; /* rgb */ color: rgb(29, 51, 124); /* oklch */ color: oklch(35.1% 0.127 266.9);
Tailwind
colors: {
custom: {
50: '#686aa3',
500: '#1d337c',
950: '#000000',
},
}SCSS
$custom: #1d337c; $custom-light: #686aa3; $custom-dark: #000000;
JSON
{
"hex": "#1d337c",
"rgb": {
"r": 29,
"g": 51,
"b": 124
},
"hsl": {
"h": 226.105,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.3515,
"c": 0.12708,
"h": 266.9
},
"luminance": 0.04084
}Semantic roles & 50–950 ramp
primary
#1D337C
secondary
#B09745
accent
#C043E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F