#1D3D8E#1D3D8E
#1D3D8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.140 H 264.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3D8E |
|---|---|
| RGB | rgb(29, 61, 142) |
| HSL | hsl(223, 66%, 34%) |
| HSV | hsv(223, 80%, 56%) |
| CMYK | cmyk(79.6%, 57%, 0%, 44.3%) |
| CIE-LAB | lab(28.25, 19.41, -48.24) |
| CIE-LCH | lch(28.25, 52.00, 291.92°) |
| OKLab | oklab(38.85% -0.0136 -0.1392) |
| OKLCH | oklch(38.85% 0.14 264.4) |
| XYZ | xyz(7.0562, 5.5509, 26.2855) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.95
Darkish Blue
#014182
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.25
Twilight Blue
#0A437A
ΔE00 5.50
Marine Blue
#01386A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3D8E #8E6E1D
analogous
#1D758E #1D3D8E #351D8E
triadic
#1D3D8E #8E1D3D #3D8E1D
tetradic
#1D3D8E #8E1D75 #8E6E1D #1D8E35
square
#1D3D8E #8E1D75 #8E6E1D #1D8E35
split-complementary
#1D3D8E #8E351D #758E1D
monochromatic
#081128 #13275B #1D3D8E #2753C1 #4B74DA
Accessibility & contrast
On white
9.95
#1D3D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1D3D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3D8E
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3D8E | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1d3d8e; /* rgb */ color: rgb(29, 61, 142); /* oklch */ color: oklch(38.8% 0.140 264.4);
Tailwind
colors: {
custom: {
50: '#6c72b0',
500: '#1d3d8e',
950: '#000000',
},
}SCSS
$custom: #1d3d8e; $custom-light: #6c72b0; $custom-dark: #000000;
JSON
{
"hex": "#1d3d8e",
"rgb": {
"r": 29,
"g": 61,
"b": 142
},
"hsl": {
"h": 223.009,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.38847,
"c": 0.13984,
"h": 264.4
},
"luminance": 0.05552
}Semantic roles & 50–950 ramp
primary
#1D3D8E
secondary
#BD9C4A
accent
#B93FE9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F