#172E53 color
The hex color #172E53 is a dark, moderate azure.
In the RGB color model it is made of 9% red, 18% green and 32.5% blue (23, 46, 83).
Its hue angle is 217°, with 57% saturation and 21% lightness. For print, the CMYK equivalent is 72% cyan, 45% magenta, 0% yellow and 67% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.53:1).
#172E53 color codes
| HEX | #172E53 | |
|---|---|---|
| RGB | rgb(23, 46, 83) | |
| RGB percent | rgb(9%, 18%, 32.5%) | |
| HSL | hsl(217, 57%, 21%) | |
| HSV / HSB | hsv(217, 72%, 33%) | |
| CMYK | cmyk(72%, 45%, 0%, 67%) | |
| CIE LAB | lab(19.06, 4.97, -25.24) | |
| CIE LCH | lch(19.06, 25.73, 281.14) | |
| CIE XYZ | xyz(2.891, 2.76, 8.562) | |
| Decimal | 1519187 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172E53, 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 #172E53 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.53:1 | Pass | Pass | Pass |
| #172E53 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.53:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #172E53 looks to people with the most common types of color vision deficiency.
#1d3154Protanopia
no red cones#142c52Deuteranopia
no green cones#00363cTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #172e53; }
.text { color: #172e53; }
.border { border: 2px solid #172e53; }
.transparent { background-color: rgb(23 46 83 / 50%); }
.gradient { background: linear-gradient(to right, #172e53, #1e1753); }
Similar colors
#0f2d4dMidnight Ocean#042e60Marine#1d2951Space Cadet#1c2e63Mythical Night#112244Dark Eclipse#002147Oxford Blue#2b3458Midnight Escapade#003368Neptune’s Dream
Questions
- What color is #172E53?
- #172E53 is a dark, moderate azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
- What is the RGB value of #172E53?
- The RGB value is 23, 46, 83: 23 red, 46 green and 83 blue on a 0 to 255 scale.
- What is the complementary color of #172E53?
- The complementary color is #533C17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172E53?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.53:1. WCAG asks for at least 4.5:1 for normal text.