#173257 color
The hex color #173257 is a dark, moderate azure.
In the RGB color model it is made of 9% red, 19.6% green and 34.1% blue (23, 50, 87).
Its hue angle is 215°, with 58% saturation and 22% lightness. For print, the CMYK equivalent is 74% cyan, 43% magenta, 0% yellow and 66% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.88:1).
#173257 color codes
| HEX | #173257 | |
|---|---|---|
| RGB | rgb(23, 50, 87) | |
| RGB percent | rgb(9%, 19.6%, 34.1%) | |
| HSL | hsl(215, 58%, 22%) | |
| HSV / HSB | hsv(215, 74%, 34%) | |
| CMYK | cmyk(74%, 43%, 0%, 66%) | |
| CIE LAB | lab(20.64, 3.75, -25.39) | |
| CIE LCH | lch(20.64, 25.67, 278.4) | |
| CIE XYZ | xyz(3.214, 3.151, 9.454) | |
| Decimal | 1520215 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #173257, 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 #173257 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.88:1 | Pass | Pass | Pass |
| #173257 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.88:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #173257 looks to people with the most common types of color vision deficiency.
#213558Protanopia
no red cones#182f56Deuteranopia
no green cones#003b40Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #173257; }
.text { color: #173257; }
.border { border: 2px solid #173257; }
.transparent { background-color: rgb(23 50 87 / 50%); }
.gradient { background: linear-gradient(to right, #173257, #1c1757); }
Similar colors
#0f2d4dMidnight Ocean#042e60Marine#003368Neptune’s Dream#0a3251Beyond the Stars#003153Prussian Blue#273c5aNautilus#03386aLost in Space#1c2e63Mythical Night
Questions
- What color is #173257?
- #173257 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 #173257?
- The RGB value is 23, 50, 87: 23 red, 50 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #173257?
- The complementary color is #573C17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #173257?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.88:1. WCAG asks for at least 4.5:1 for normal text.