#171C73 color
The hex color #171C73 is a dark, moderate blue.
In the RGB color model it is made of 9% red, 11% green and 45.1% blue (23, 28, 115).
Its hue angle is 237°, with 67% saturation and 27% lightness. For print, the CMYK equivalent is 80% cyan, 76% magenta, 0% yellow and 55% black.
The closest named color is Midnight Blue (#191970), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.48:1).
#171C73 color codes
| HEX | #171C73 | |
|---|---|---|
| RGB | rgb(23, 28, 115) | |
| RGB percent | rgb(9%, 11%, 45.1%) | |
| HSL | hsl(237, 67%, 27%) | |
| HSV / HSB | hsv(237, 80%, 45%) | |
| CMYK | cmyk(80%, 76%, 0%, 55%) | |
| CIE LAB | lab(16.75, 30.74, -50.05) | |
| CIE LCH | lch(16.75, 58.74, 301.56) | |
| CIE XYZ | xyz(3.862, 2.25, 16.447) | |
| Decimal | 1514611 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #171C73, 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 #171C73 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.48:1 | Pass | Pass | Pass |
| #171C73 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.48:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #171C73 looks to people with the most common types of color vision deficiency.
#002e76Protanopia
no red cones#002571Deuteranopia
no green cones#003545Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #171c73; }
.text { color: #171c73; }
.border { border: 2px solid #171c73; }
.transparent { background-color: rgb(23 28 115 / 50%); }
.gradient { background: linear-gradient(to right, #171c73, #401773); }
Similar colors
#191970Midnight Blue#19197020000 Leagues Under the Sea#002277Long-Haul Flight#112473Midnight Crest#111166Dying Storm Blue#222266Intergalactic Cowboy#332277Deep Space Rodeo#002489Lost in Heaven
Questions
- What color is #171C73?
- #171C73 is a dark, moderate blue, closest to the named color Midnight Blue. It belongs to the blue family of colors.
- What is the RGB value of #171C73?
- The RGB value is 23, 28, 115: 23 red, 28 green and 115 blue on a 0 to 255 scale.
- What is the complementary color of #171C73?
- The complementary color is #736E17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #171C73?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.48:1. WCAG asks for at least 4.5:1 for normal text.