#1D173C color
The hex color #1D173C is a very dark, desaturated blue.
In the RGB color model it is made of 11.4% red, 9% green and 23.5% blue (29, 23, 60).
Its hue angle is 250°, with 45% saturation and 16% lightness. For print, the CMYK equivalent is 52% cyan, 62% magenta, 0% yellow and 76% black.
The closest named color is Azulado (#211D49), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.93:1).
#1D173C color codes
| HEX | #1D173C | |
|---|---|---|
| RGB | rgb(29, 23, 60) | |
| RGB percent | rgb(11.4%, 9%, 23.5%) | |
| HSL | hsl(250, 45%, 16%) | |
| HSV / HSB | hsv(250, 62%, 24%) | |
| CMYK | cmyk(52%, 62%, 0%, 76%) | |
| CIE LAB | lab(10.56, 14.42, -22.94) | |
| CIE LCH | lch(10.56, 27.1, 302.15) | |
| CIE XYZ | xyz(1.628, 1.2, 4.42) | |
| Decimal | 1906492 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D173C, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #1D173C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.93:1 | Pass | Pass | Pass |
| #1D173C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.93:1 | Pass | Pass | Pass |
| Sample text | 1.24:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #1D173C looks to people with the most common types of color vision deficiency.
#051d3dProtanopia
no red cones#051c3bDeuteranopia
no green cones#131f26Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #1d173c; }
.text { color: #1d173c; }
.border { border: 2px solid #1d173c; }
.transparent { background-color: rgb(29 23 60 / 50%); }
.gradient { background: linear-gradient(to right, #1d173c, #30173c); }
Similar colors
#211d49Azulado#1c0f33Midnight Monarch#222244Black Market#2a2243Midnight Velvet#231c4dSilent Orbit#1c1e4dFly-by-Night#071037Infinite Night#111144Deadly Depths
Closest common color name: Dark Purple.
Questions
- What color is #1D173C?
- #1D173C is a very dark, desaturated blue, closest to the named color Azulado. It belongs to the black family of colors.
- What is the RGB value of #1D173C?
- The RGB value is 29, 23, 60: 29 red, 23 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #1D173C?
- The complementary color is #363C17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D173C?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.93:1. WCAG asks for at least 4.5:1 for normal text.