#172C5A color
The hex color #172C5A is a dark, moderate blue.
In the RGB color model it is made of 9% red, 17.3% green and 35.3% blue (23, 44, 90).
Its hue angle is 221°, with 59% saturation and 22% lightness. For print, the CMYK equivalent is 74% cyan, 51% magenta, 0% yellow and 65% black.
The closest named color is Mythical Night (#1C2E63), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.6:1).
#172C5A color codes
| HEX | #172C5A | |
|---|---|---|
| RGB | rgb(23, 44, 90) | |
| RGB percent | rgb(9%, 17.3%, 35.3%) | |
| HSL | hsl(221, 59%, 22%) | |
| HSV / HSB | hsv(221, 74%, 35%) | |
| CMYK | cmyk(74%, 51%, 0%, 65%) | |
| CIE LAB | lab(18.89, 9.34, -30.18) | |
| CIE LCH | lch(18.89, 31.59, 287.19) | |
| CIE XYZ | xyz(3.099, 2.721, 10.033) | |
| Decimal | 1518682 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172C5A, 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 #172C5A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.6:1 | Pass | Pass | Pass |
| #172C5A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.6:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #172C5A looks to people with the most common types of color vision deficiency.
#14315cProtanopia
no red cones#052b59Deuteranopia
no green cones#00373eTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #172c5a; }
.text { color: #172c5a; }
.border { border: 2px solid #172c5a; }
.transparent { background-color: rgb(23 44 90 / 50%); }
.gradient { background: linear-gradient(to right, #172c5a, #24175a); }
Similar colors
#1c2e63Mythical Night#1d2951Space Cadet#042e60Marine#112358Fibonacci Blue#012253Subnautical#112255Dark Soul#052462Black Sea Night#13336fAtlantic Navy
Closest common color name: Oxford Blue.
Questions
- What color is #172C5A?
- #172C5A is a dark, moderate blue, closest to the named color Mythical Night. It belongs to the blue family of colors.
- What is the RGB value of #172C5A?
- The RGB value is 23, 44, 90: 23 red, 44 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #172C5A?
- The complementary color is #5A4517, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172C5A?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.6:1. WCAG asks for at least 4.5:1 for normal text.