#171D46 color
The hex color #171D46 is a very dark, moderate blue.
In the RGB color model it is made of 9% red, 11.4% green and 27.5% blue (23, 29, 70).
Its hue angle is 232°, with 51% saturation and 18% lightness. For print, the CMYK equivalent is 67% cyan, 59% magenta, 0% yellow and 73% black.
The closest named color is Fly-by-Night (#1C1E4D), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.15:1).
#171D46 color codes
| HEX | #171D46 | |
|---|---|---|
| RGB | rgb(23, 29, 70) | |
| RGB percent | rgb(9%, 11.4%, 27.5%) | |
| HSL | hsl(232, 51%, 18%) | |
| HSV / HSB | hsv(232, 67%, 27%) | |
| CMYK | cmyk(67%, 59%, 0%, 73%) | |
| CIE LAB | lab(12.63, 12.26, -26.68) | |
| CIE LCH | lch(12.63, 29.36, 294.67) | |
| CIE XYZ | xyz(1.898, 1.503, 5.983) | |
| Decimal | 1514822 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171D46, 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 #171D46 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.15:1 | Pass | Pass | Pass |
| #171D46 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.15:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #171D46 looks to people with the most common types of color vision deficiency.
#062347Protanopia
no red cones#001f45Deuteranopia
no green cones#00262eTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #171d46; }
.text { color: #171d46; }
.border { border: 2px solid #171d46; }
.transparent { background-color: rgb(23 29 70 / 50%); }
.gradient { background: linear-gradient(to right, #171d46, #291746); }
Similar colors
#1c1e4dFly-by-Night#211d49Azulado#222244Black Market#222255Spacescape#161d3bNightwalker#231c4dSilent Orbit#112255Dark Soul#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #171D46?
- #171D46 is a very dark, moderate blue, closest to the named color Fly-by-Night. It belongs to the blue family of colors.
- What is the RGB value of #171D46?
- The RGB value is 23, 29, 70: 23 red, 29 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #171D46?
- The complementary color is #464017, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171D46?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.15:1. WCAG asks for at least 4.5:1 for normal text.