#173252 color
The hex color #173252 is a dark, moderate azure.
In the RGB color model it is made of 9% red, 19.6% green and 32.2% blue (23, 50, 82).
Its hue angle is 213°, with 56% saturation and 21% lightness. For print, the CMYK equivalent is 72% cyan, 39% magenta, 0% yellow and 68% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.01:1).
#173252 color codes
| HEX | #173252 | |
|---|---|---|
| RGB | rgb(23, 50, 82) | |
| RGB percent | rgb(9%, 19.6%, 32.2%) | |
| HSL | hsl(213, 56%, 21%) | |
| HSV / HSB | hsv(213, 72%, 32%) | |
| CMYK | cmyk(72%, 39%, 0%, 68%) | |
| CIE LAB | lab(20.33, 1.7, -22.55) | |
| CIE LCH | lch(20.33, 22.62, 274.32) | |
| CIE XYZ | xyz(3.016, 3.072, 8.415) | |
| Decimal | 1520210 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #173252, 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 #173252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.01:1 | Pass | Pass | Pass |
| #173252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.01:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #173252 looks to people with the most common types of color vision deficiency.
#243453Protanopia
no red cones#1c2e51Deuteranopia
no green cones#00393eTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #173252; }
.text { color: #173252; }
.border { border: 2px solid #173252; }
.transparent { background-color: rgb(23 50 82 / 50%); }
.gradient { background: linear-gradient(to right, #173252, #1a1752); }
Similar colors
#0f2d4dMidnight Ocean#0a3251Beyond the Stars#003153Prussian Blue#273c5aNautilus#042e60Marine#143c5dPoseidon#03386aLost in Space#0b334dSea of Stars
Questions
- What color is #173252?
- #173252 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 #173252?
- The RGB value is 23, 50, 82: 23 red, 50 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #173252?
- The complementary color is #523717, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #173252?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.01:1. WCAG asks for at least 4.5:1 for normal text.