#1D336C#1D336C
#1D336C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.103 H 265.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1D336C |
|---|---|
| RGB | rgb(29, 51, 108) |
| HSL | hsl(223, 58%, 27%) |
| HSV | hsv(223, 73%, 42%) |
| CMYK | cmyk(73.1%, 52.8%, 0%, 57.6%) |
| CIE-LAB | lab(22.69, 12.70, -35.82) |
| CIE-LCH | lch(22.69, 38.00, 289.53°) |
| OKLab | oklab(33.81% -0.0083 -0.1028) |
| OKLCH | oklch(33.81% 0.103 265.4) |
| XYZ | xyz(4.3963, 3.7111, 14.6691) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.33
Marine Blue
#01386A
ΔE00 4.68
Navy Blue
#1B2A4A
ΔE00 6.41
Darkish Blue
#014182
ΔE00 6.45
Twilight Blue
#0A437A
ΔE00 6.95
Cobalt (survey)
#1E488F
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D336C #6C561D
analogous
#1D5B6C #1D336C #2F1D6C
triadic
#1D336C #6C1D33 #336C1D
tetradic
#1D336C #6C1D5B #6C561D #1D6C2F
square
#1D336C #6C1D5B #6C561D #1D6C2F
split-complementary
#1D336C #6C2F1D #5B6C1D
monochromatic
#060B18 #101C3C #1D336C #2A4A9C #3962CA
Accessibility & contrast
On white
12.05
#1D336C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1D336C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D336C
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D336C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D336C | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123A6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1d336c; /* rgb */ color: rgb(29, 51, 108); /* oklch */ color: oklch(33.8% 0.103 265.4);
Tailwind
colors: {
custom: {
50: '#646a96',
500: '#1d336c',
950: '#000000',
},
}SCSS
$custom: #1d336c; $custom-light: #646a96; $custom-dark: #000000;
JSON
{
"hex": "#1d336c",
"rgb": {
"r": 29,
"g": 51,
"b": 108
},
"hsl": {
"h": 223.291,
"s": 57.664,
"l": 26.863
},
"oklch": {
"l": 0.33806,
"c": 0.10316,
"h": 265.4
},
"luminance": 0.03712
}Semantic roles & 50–950 ramp
primary
#1D336C
secondary
#A18744
accent
#B647E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E