#171E4A color
The hex color #171E4A is a very dark, moderate blue.
In the RGB color model it is made of 9% red, 11.8% green and 29% blue (23, 30, 74).
Its hue angle is 232°, with 53% saturation and 19% lightness. For print, the CMYK equivalent is 69% cyan, 59% magenta, 0% yellow and 71% 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 15.9:1).
#171E4A color codes
| HEX | #171E4A | |
|---|---|---|
| RGB | rgb(23, 30, 74) | |
| RGB percent | rgb(9%, 11.8%, 29%) | |
| HSL | hsl(232, 53%, 19%) | |
| HSV / HSB | hsv(232, 69%, 29%) | |
| CMYK | cmyk(69%, 59%, 0%, 71%) | |
| CIE LAB | lab(13.26, 13.13, -28.43) | |
| CIE LCH | lch(13.26, 31.31, 294.79) | |
| CIE XYZ | xyz(2.053, 1.605, 6.679) | |
| Decimal | 1515082 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171E4A, 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 #171E4A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.9:1 | Pass | Pass | Pass |
| #171E4A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.9:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #171E4A looks to people with the most common types of color vision deficiency.
#03244cProtanopia
no red cones#002049Deuteranopia
no green cones#002830Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #171e4a; }
.text { color: #171e4a; }
.border { border: 2px solid #171e4a; }
.transparent { background-color: rgb(23 30 74 / 50%); }
.gradient { background: linear-gradient(to right, #171e4a, #29174a); }
Similar colors
#1c1e4dFly-by-Night#211d49Azulado#222255Spacescape#112255Dark Soul#112358Fibonacci Blue#231c4dSilent Orbit#1d2951Space Cadet#222244Black Market
Closest common color name: Oxford Blue.
Questions
- What color is #171E4A?
- #171E4A 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 #171E4A?
- The RGB value is 23, 30, 74: 23 red, 30 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #171E4A?
- The complementary color is #4A4317, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171E4A?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.9:1. WCAG asks for at least 4.5:1 for normal text.