#1D3D8F#1D3D8F
#1D3D8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.141 H 264.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3D8F |
|---|---|
| RGB | rgb(29, 61, 143) |
| HSL | hsl(223, 66%, 34%) |
| HSV | hsv(223, 80%, 56%) |
| CMYK | cmyk(79.7%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.33, 19.81, -48.73) |
| CIE-LCH | lch(28.33, 52.60, 292.13°) |
| OKLab | oklab(38.93% -0.0135 -0.1406) |
| OKLCH | oklch(38.93% 0.141 264.5) |
| XYZ | xyz(7.1316, 5.5810, 26.6827) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.99
Darkish Blue
#014182
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 5.09
Twilight Blue
#0A437A
ΔE00 5.61
Blueberry
#464196
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3D8F #8F6F1D
analogous
#1D768F #1D3D8F #361D8F
triadic
#1D3D8F #8F1D3D #3D8F1D
tetradic
#1D3D8F #8F1D76 #8F6F1D #1D8F36
square
#1D3D8F #8F1D76 #8F6F1D #1D8F36
split-complementary
#1D3D8F #8F361D #768F1D
monochromatic
#081229 #13275C #1D3D8F #2753C2 #4C74DB
Accessibility & contrast
On white
9.92
#1D3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1D3D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3D8F
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3D8F | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1d3d8f; /* rgb */ color: rgb(29, 61, 143); /* oklch */ color: oklch(38.9% 0.141 264.5);
Tailwind
colors: {
custom: {
50: '#6c72b0',
500: '#1d3d8f',
950: '#000000',
},
}SCSS
$custom: #1d3d8f; $custom-light: #6c72b0; $custom-dark: #000000;
JSON
{
"hex": "#1d3d8f",
"rgb": {
"r": 29,
"g": 61,
"b": 143
},
"hsl": {
"h": 223.158,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.38932,
"c": 0.14126,
"h": 264.5
},
"luminance": 0.05582
}Semantic roles & 50–950 ramp
primary
#1D3D8F
secondary
#BD9D4B
accent
#B93FE9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80