#171947 color
The hex color #171947 is a very dark, moderate blue.
In the RGB color model it is made of 9% red, 9.8% green and 27.8% blue (23, 25, 71).
Its hue angle is 238°, with 51% saturation and 18% lightness. For print, the CMYK equivalent is 68% cyan, 65% magenta, 0% yellow and 72% black.
The closest named color is Fly-by-Night (#1C1E4D), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.58:1).
#171947 color codes
| HEX | #171947 | |
|---|---|---|
| RGB | rgb(23, 25, 71) | |
| RGB percent | rgb(9%, 9.8%, 27.8%) | |
| HSL | hsl(238, 51%, 18%) | |
| HSV / HSB | hsv(238, 68%, 28%) | |
| CMYK | cmyk(68%, 65%, 0%, 72%) | |
| CIE LAB | lab(11.5, 15.67, -29.2) | |
| CIE LCH | lch(11.5, 33.14, 298.23) | |
| CIE XYZ | xyz(1.838, 1.332, 6.12) | |
| Decimal | 1513799 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171947, 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 #171947 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.58:1 | Pass | Pass | Pass |
| #171947 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.58:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #171947 looks to people with the most common types of color vision deficiency.
#002149Protanopia
no red cones#001c46Deuteranopia
no green cones#00242dTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #171947; }
.text { color: #171947; }
.border { border: 2px solid #171947; }
.transparent { background-color: rgb(23 25 71 / 50%); }
.gradient { background: linear-gradient(to right, #171947, #2d1747); }
Similar colors
#1c1e4dFly-by-Night#211d49Azulado#231c4dSilent Orbit#111144Deadly Depths#222255Spacescape#071037Infinite Night#112255Dark Soul#2a2551Pāua
Closest common color name: Oxford Blue.
Questions
- What color is #171947?
- #171947 is a very dark, moderate blue, closest to the named color Fly-by-Night. It belongs to the black family of colors.
- What is the RGB value of #171947?
- The RGB value is 23, 25, 71: 23 red, 25 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #171947?
- The complementary color is #474517, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171947?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.58:1. WCAG asks for at least 4.5:1 for normal text.