#1D41A8#1D41A8
#1D41A8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.171 H 264.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1D41A8 |
|---|---|
| RGB | rgb(29, 65, 168) |
| HSL | hsl(224, 71%, 39%) |
| HSV | hsv(224, 83%, 66%) |
| CMYK | cmyk(82.7%, 61.3%, 0%, 34.1%) |
| CIE-LAB | lab(31.50, 26.98, -58.74) |
| CIE-LCH | lch(31.50, 64.64, 294.67°) |
| OKLab | oklab(41.96% -0.0151 -0.1699) |
| OKLCH | oklch(41.96% 0.171 264.9) |
| XYZ | xyz(9.4624, 6.8678, 37.8651) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.87
Sapphire (survey)
#2138AB
ΔE00 3.16
Blue Blue
#2242C7
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 5.01
Sapphire
#0F52BA
ΔE00 6.05
Blueberry
#464196
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D41A8 #A8841D
analogous
#1D86A8 #1D41A8 #3E1DA8
triadic
#1D41A8 #A81D41 #41A81D
tetradic
#1D41A8 #A81D86 #A8841D #1DA83E
square
#1D41A8 #A81D86 #A8841D #1DA83E
split-complementary
#1D41A8 #A83E1D #86A81D
monochromatic
#0B1940 #142D74 #1D41A8 #2856DA #5C7FE3
Accessibility & contrast
On white
8.85
#1D41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1D41A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D41A8
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D41A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D41A8 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1d41a8; /* rgb */ color: rgb(29, 65, 168); /* oklch */ color: oklch(42.0% 0.171 264.9);
Tailwind
colors: {
custom: {
50: '#7275c3',
500: '#1d41a8',
950: '#000000',
},
}SCSS
$custom: #1d41a8; $custom-light: #7275c3; $custom-dark: #000000;
JSON
{
"hex": "#1d41a8",
"rgb": {
"r": 29,
"g": 65,
"b": 168
},
"hsl": {
"h": 224.46,
"s": 70.558,
"l": 38.627
},
"oklch": {
"l": 0.41959,
"c": 0.17061,
"h": 264.9
},
"luminance": 0.06869
}Semantic roles & 50–950 ramp
primary
#1D41A8
secondary
#C7AB5A
accent
#BF3AED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82