#1D41A1#1D41A1
#1D41A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.161 H 264.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1D41A1 |
|---|---|
| RGB | rgb(29, 65, 161) |
| HSL | hsl(224, 69%, 37%) |
| HSV | hsv(224, 82%, 63%) |
| CMYK | cmyk(82%, 59.6%, 0%, 36.9%) |
| CIE-LAB | lab(30.91, 24.23, -55.50) |
| CIE-LCH | lch(30.91, 60.55, 293.58°) |
| OKLab | oklab(41.33% -0.0153 -0.1604) |
| OKLCH | oklch(41.33% 0.161 264.6) |
| XYZ | xyz(8.8277, 6.6140, 34.5227) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.82
Sapphire (survey)
#2138AB
ΔE00 3.75
Cobalt (survey)
#1E488F
ΔE00 4.18
Blue Blue
#2242C7
ΔE00 5.48
Darkish Blue
#014182
ΔE00 5.79
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D41A1 #A17D1D
analogous
#1D83A1 #1D41A1 #3B1DA1
triadic
#1D41A1 #A11D41 #41A11D
tetradic
#1D41A1 #A11D83 #A17D1D #1DA13B
square
#1D41A1 #A11D83 #A17D1D #1DA13B
split-complementary
#1D41A1 #A13B1D #83A11D
monochromatic
#0A1739 #142C6D #1D41A1 #2656D5 #587DE1
Accessibility & contrast
On white
9.04
#1D41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1D41A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D41A1
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D41A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D41A1 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1d41a1; /* rgb */ color: rgb(29, 65, 161); /* oklch */ color: oklch(41.3% 0.161 264.6);
Tailwind
colors: {
custom: {
50: '#7175be',
500: '#1d41a1',
950: '#000000',
},
}SCSS
$custom: #1d41a1; $custom-light: #7175be; $custom-dark: #000000;
JSON
{
"hex": "#1d41a1",
"rgb": {
"r": 29,
"g": 65,
"b": 161
},
"hsl": {
"h": 223.636,
"s": 69.474,
"l": 37.255
},
"oklch": {
"l": 0.41332,
"c": 0.16115,
"h": 264.6
},
"luminance": 0.06615
}Semantic roles & 50–950 ramp
primary
#1D41A1
secondary
#C4A655
accent
#BC3CEC
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81