#1D47A6#1D47A6
#1D47A6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.160 H 263.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1D47A6 |
|---|---|
| RGB | rgb(29, 71, 166) |
| HSL | hsl(222, 70%, 38%) |
| HSV | hsv(222, 83%, 65%) |
| CMYK | cmyk(82.5%, 57.2%, 0%, 34.9%) |
| CIE-LAB | lab(32.96, 22.14, -55.16) |
| CIE-LCH | lch(32.96, 59.44, 291.86°) |
| OKLab | oklab(43% -0.0188 -0.1593) |
| OKLCH | oklch(43% 0.16 263.3) |
| XYZ | xyz(9.6404, 7.5197, 37.0124) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.35
Cobalt (survey)
#1E488F
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 4.32
Sapphire (survey)
#2138AB
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 5.41
Dusk Blue
#26538D
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D47A6 #A67C1D
analogous
#1D8BA6 #1D47A6 #381DA6
triadic
#1D47A6 #A61D47 #47A61D
tetradic
#1D47A6 #A61D8B #A67C1D #1DA638
square
#1D47A6 #A61D8B #A67C1D #1DA638
split-complementary
#1D47A6 #A6381D #8BA61D
monochromatic
#0B1A3E #143172 #1D47A6 #275ED9 #5B85E2
Accessibility & contrast
On white
8.39
#1D47A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1D47A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D47A6
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D47A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D47A6 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1d47a6; /* rgb */ color: rgb(29, 71, 166); /* oklch */ color: oklch(43.0% 0.160 263.3);
Tailwind
colors: {
custom: {
50: '#7179c1',
500: '#1d47a6',
950: '#000000',
},
}SCSS
$custom: #1d47a6; $custom-light: #7179c1; $custom-dark: #000000;
JSON
{
"hex": "#1d47a6",
"rgb": {
"r": 29,
"g": 71,
"b": 166
},
"hsl": {
"h": 221.606,
"s": 70.256,
"l": 38.235
},
"oklch": {
"l": 0.43,
"c": 0.16046,
"h": 263.3
},
"luminance": 0.07521
}Semantic roles & 50–950 ramp
primary
#1D47A6
secondary
#C6A559
accent
#B63BED
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81