#1D3EB0#1D3EB0
#1D3EB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.185 H 265.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3EB0 |
|---|---|
| RGB | rgb(29, 62, 176) |
| HSL | hsl(227, 72%, 40%) |
| HSV | hsv(227, 84%, 69%) |
| CMYK | cmyk(83.5%, 64.8%, 0%, 31%) |
| CIE-LAB | lab(31.44, 32.06, -63.63) |
| CIE-LCH | lch(31.44, 71.25, 296.74°) |
| OKLab | oklab(42.13% -0.0135 -0.1843) |
| OKLCH | oklch(42.13% 0.185 265.8) |
| XYZ | xyz(10.0630, 6.8398, 41.8557) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.95
Blue Blue
#2242C7
ΔE00 3.35
Cobalt
#0047AB
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 6.00
Blue (survey)
#0343DF
ΔE00 6.08
Blueberry
#464196
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3EB0 #B08F1D
analogous
#1D87B0 #1D3EB0 #461DB0
triadic
#1D3EB0 #B01D3E #3EB01D
tetradic
#1D3EB0 #B01D87 #B08F1D #1DB046
square
#1D3EB0 #B01D87 #B08F1D #1DB046
split-complementary
#1D3EB0 #B0461D #87B01D
monochromatic
#0C1947 #142B7B #1D3EB0 #2E55DD #6280E5
Accessibility & contrast
On white
8.87
#1D3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1D3EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3EB0
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3EB0 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1d3eb0; /* rgb */ color: rgb(29, 62, 176); /* oklch */ color: oklch(42.1% 0.185 265.8);
Tailwind
colors: {
custom: {
50: '#7573c9',
500: '#1d3eb0',
950: '#000000',
},
}SCSS
$custom: #1d3eb0; $custom-light: #7573c9; $custom-dark: #000000;
JSON
{
"hex": "#1d3eb0",
"rgb": {
"r": 29,
"g": 62,
"b": 176
},
"hsl": {
"h": 226.531,
"s": 71.707,
"l": 40.196
},
"oklch": {
"l": 0.4213,
"c": 0.18478,
"h": 265.8
},
"luminance": 0.06841
}Semantic roles & 50–950 ramp
primary
#1D3EB0
secondary
#CAB25F
accent
#C639EE
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82