#173D8A color
The hex color #173D8A is a dark, moderate blue.
In the RGB color model it is made of 9% red, 23.9% green and 54.1% blue (23, 61, 138).
Its hue angle is 220°, with 71% saturation and 32% lightness. For print, the CMYK equivalent is 83% cyan, 56% magenta, 0% yellow and 46% black.
The closest named color is One Minute to Midnight (#003388), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.14:1).
#173D8A color codes
| HEX | #173D8A | |
|---|---|---|
| RGB | rgb(23, 61, 138) | |
| RGB percent | rgb(9%, 23.9%, 54.1%) | |
| HSL | hsl(220, 71%, 32%) | |
| HSV / HSB | hsv(220, 83%, 54%) | |
| CMYK | cmyk(83%, 56%, 0%, 46%) | |
| CIE LAB | lab(27.72, 17.15, -46.64) | |
| CIE LCH | lch(27.72, 49.69, 290.19) | |
| CIE XYZ | xyz(6.608, 5.354, 24.725) | |
| Decimal | 1523082 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #173D8A, 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 #173D8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.14:1 | Pass | Pass | Pass |
| #173D8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.14:1 | Pass | Pass | Pass |
| Sample text | 2.07: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 #173D8A looks to people with the most common types of color vision deficiency.
#00478dProtanopia
no red cones#003c88Deuteranopia
no green cones#00505dTritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #173d8a; }
.text { color: #173d8a; }
.border { border: 2px solid #173d8a; }
.transparent { background-color: rgb(23 61 138 / 50%); }
.gradient { background: linear-gradient(to right, #173d8a, #2b178a); }
Similar colors
#003388One Minute to Midnight#1e4581Maritime Outpost#234893Cascade Twilight#25488aPacific Navy#1e488fNuit Blanche#004488Pacific Depths#1c3378Twilight Express#223382Deep Space Royal
Closest common color name: Cobalt Blue.
Questions
- What color is #173D8A?
- #173D8A is a dark, moderate blue, closest to the named color One Minute to Midnight. It belongs to the blue family of colors.
- What is the RGB value of #173D8A?
- The RGB value is 23, 61, 138: 23 red, 61 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #173D8A?
- The complementary color is #8A6417, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #173D8A?
- White text. Black text has a contrast ratio of 2.07:1 and white text 10.14:1. WCAG asks for at least 4.5:1 for normal text.