#171247 color
The hex color #171247 is a very dark, moderate blue.
In the RGB color model it is made of 9% red, 7.1% green and 27.8% blue (23, 18, 71).
Its hue angle is 246°, with 60% saturation and 17% lightness. For print, the CMYK equivalent is 68% cyan, 75% magenta, 0% yellow and 72% black.
The closest named color is Deadly Depths (#111144), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.3:1).
#171247 color codes
| HEX | #171247 | |
|---|---|---|
| RGB | rgb(23, 18, 71) | |
| RGB percent | rgb(9%, 7.1%, 27.8%) | |
| HSL | hsl(246, 60%, 17%) | |
| HSV / HSB | hsv(246, 75%, 28%) | |
| CMYK | cmyk(68%, 75%, 0%, 72%) | |
| CIE LAB | lab(9.56, 20.76, -32.36) | |
| CIE LCH | lch(9.56, 38.45, 302.68) | |
| CIE XYZ | xyz(1.707, 1.07, 6.077) | |
| Decimal | 1512007 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171247, 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 #171247 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.3:1 | Pass | Pass | Pass |
| #171247 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.3:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #171247 looks to people with the most common types of color vision deficiency.
#001d49Protanopia
no red cones#001946Deuteranopia
no green cones#00202aTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #171247; }
.text { color: #171247; }
.border { border: 2px solid #171247; }
.transparent { background-color: rgb(23 18 71 / 50%); }
.gradient { background: linear-gradient(to right, #171247, #321247); }
Similar colors
#111144Deadly Depths#231c4dSilent Orbit#000b44Storm#0f084bSilent Twilight#211d49Azulado#1c1e4dFly-by-Night#001155Interstellar Blue#160435Quiet Abyss
Closest common color name: Midnight Blue.
Questions
- What color is #171247?
- #171247 is a very dark, moderate blue, closest to the named color Deadly Depths. It belongs to the black family of colors.
- What is the RGB value of #171247?
- The RGB value is 23, 18, 71: 23 red, 18 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #171247?
- The complementary color is #424712, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171247?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.3:1. WCAG asks for at least 4.5:1 for normal text.