#1D177D#1D177D
#1D177D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.161 H 273.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1D177D |
|---|---|
| RGB | rgb(29, 23, 125) |
| HSL | hsl(244, 69%, 29%) |
| HSV | hsv(244, 82%, 49%) |
| CMYK | cmyk(76.8%, 81.6%, 0%, 51%) |
| CIE-LAB | lab(17.25, 37.76, -55.63) |
| CIE-LCH | lch(17.25, 67.24, 304.17°) |
| OKLab | oklab(30.31% 0.0102 -0.1609) |
| OKLCH | oklch(30.31% 0.161 273.6) |
| XYZ | xyz(4.5135, 2.3542, 19.6146) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.35
Royal
#0C1793
ΔE00 3.28
Dark Royal Blue
#02066F
ΔE00 4.03
Navy
#000080
ΔE00 4.17
Deep Blue
#040273
ΔE00 4.26
Darkblue
#00008B
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D177D #777D17
analogous
#17447D #1D177D #50177D
triadic
#1D177D #7D1D17 #177D1D
tetradic
#1D177D #7D1744 #777D17 #177D50
square
#1D177D #7D1744 #777D17 #177D50
split-complementary
#1D177D #7D5017 #447D17
monochromatic
#06051A #110D49 #1D177D #2921B1 #3E35DA
Accessibility & contrast
On white
14.28
#1D177D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1D177D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D177D
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D177D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D177D | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d177d; /* rgb */ color: rgb(29, 23, 125); /* oklch */ color: oklch(30.3% 0.161 273.6);
Tailwind
colors: {
custom: {
50: '#6b57a4',
500: '#1d177d',
950: '#000000',
},
}SCSS
$custom: #1d177d; $custom-light: #6b57a4; $custom-dark: #000000;
JSON
{
"hex": "#1d177d",
"rgb": {
"r": 29,
"g": 23,
"b": 125
},
"hsl": {
"h": 243.529,
"s": 68.919,
"l": 29.02
},
"oklch": {
"l": 0.3031,
"c": 0.16127,
"h": 273.6
},
"luminance": 0.02355
}Semantic roles & 50–950 ramp
primary
#1D177D
secondary
#ABB23E
accent
#EC3CE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F