#171A48 color
The hex color #171A48 is a very dark, moderate blue.
In the RGB color model it is made of 9% red, 10.2% green and 28.2% blue (23, 26, 72).
Its hue angle is 236°, with 52% saturation and 19% lightness. For print, the CMYK equivalent is 68% cyan, 64% magenta, 0% yellow and 72% black.
The closest named color is Fly-by-Night (#1C1E4D), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.43:1).
#171A48 color codes
| HEX | #171A48 | |
|---|---|---|
| RGB | rgb(23, 26, 72) | |
| RGB percent | rgb(9%, 10.2%, 28.2%) | |
| HSL | hsl(236, 52%, 19%) | |
| HSV / HSB | hsv(236, 68%, 28%) | |
| CMYK | cmyk(68%, 64%, 0%, 72%) | |
| CIE LAB | lab(11.88, 15.33, -29.27) | |
| CIE LCH | lch(11.88, 33.04, 297.64) | |
| CIE XYZ | xyz(1.892, 1.389, 6.298) | |
| Decimal | 1514056 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171A48, 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 #171A48 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.43:1 | Pass | Pass | Pass |
| #171A48 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.43:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #171A48 looks to people with the most common types of color vision deficiency.
#00214aProtanopia
no red cones#001d47Deuteranopia
no green cones#00252eTritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #171a48; }
.text { color: #171a48; }
.border { border: 2px solid #171a48; }
.transparent { background-color: rgb(23 26 72 / 50%); }
.gradient { background: linear-gradient(to right, #171a48, #2d1748); }
Similar colors
#1c1e4dFly-by-Night#211d49Azulado#231c4dSilent Orbit#111144Deadly Depths#222255Spacescape#112255Dark Soul#071037Infinite Night#2a2551Pāua
Closest common color name: Oxford Blue.
Questions
- What color is #171A48?
- #171A48 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 #171A48?
- The RGB value is 23, 26, 72: 23 red, 26 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #171A48?
- The complementary color is #484517, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171A48?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.43:1. WCAG asks for at least 4.5:1 for normal text.