#1D47A8#1D47A8
#1D47A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.163 H 263.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1D47A8 |
|---|---|
| RGB | rgb(29, 71, 168) |
| HSL | hsl(222, 71%, 39%) |
| HSV | hsv(222, 83%, 66%) |
| CMYK | cmyk(82.7%, 57.7%, 0%, 34.1%) |
| CIE-LAB | lab(33.12, 22.93, -56.10) |
| CIE-LCH | lch(33.12, 60.61, 292.23°) |
| OKLab | oklab(43.17% -0.0187 -0.1621) |
| OKLCH | oklch(43.17% 0.163 263.4) |
| XYZ | xyz(9.8253, 7.5936, 37.9861) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.36
Cobalt (survey)
#1E488F
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.23
Blue Blue
#2242C7
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.21
Dusk Blue
#26538D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D47A8 #A87E1D
analogous
#1D8CA8 #1D47A8 #391DA8
triadic
#1D47A8 #A81D47 #47A81D
tetradic
#1D47A8 #A81D8C #A87E1D #1DA839
square
#1D47A8 #A81D8C #A87E1D #1DA839
split-complementary
#1D47A8 #A8391D #8CA81D
monochromatic
#0B1B40 #143174 #1D47A8 #285EDA #5C85E3
Accessibility & contrast
On white
8.34
#1D47A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#1D47A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D47A8
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D47A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D47A8 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1d47a8; /* rgb */ color: rgb(29, 71, 168); /* oklch */ color: oklch(43.2% 0.163 263.4);
Tailwind
colors: {
custom: {
50: '#7279c3',
500: '#1d47a8',
950: '#000000',
},
}SCSS
$custom: #1d47a8; $custom-light: #7279c3; $custom-dark: #000000;
JSON
{
"hex": "#1d47a8",
"rgb": {
"r": 29,
"g": 71,
"b": 168
},
"hsl": {
"h": 221.871,
"s": 70.558,
"l": 38.627
},
"oklch": {
"l": 0.43171,
"c": 0.16318,
"h": 263.4
},
"luminance": 0.07595
}Semantic roles & 50–950 ramp
primary
#1D47A8
secondary
#C7A65A
accent
#B73AED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81