#173255 color
The hex color #173255 is a dark, moderate azure.
In the RGB color model it is made of 9% red, 19.6% green and 33.3% blue (23, 50, 85).
Its hue angle is 214°, with 57% saturation and 21% lightness. For print, the CMYK equivalent is 73% cyan, 41% magenta, 0% yellow and 67% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.93:1).
#173255 color codes
| HEX | #173255 | |
|---|---|---|
| RGB | rgb(23, 50, 85) | |
| RGB percent | rgb(9%, 19.6%, 33.3%) | |
| HSL | hsl(214, 57%, 21%) | |
| HSV / HSB | hsv(214, 73%, 33%) | |
| CMYK | cmyk(73%, 41%, 0%, 67%) | |
| CIE LAB | lab(20.51, 2.93, -24.26) | |
| CIE LCH | lch(20.51, 24.44, 276.88) | |
| CIE XYZ | xyz(3.133, 3.119, 9.029) | |
| Decimal | 1520213 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #173255, 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 #173255 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.93:1 | Pass | Pass | Pass |
| #173255 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.93:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #173255 looks to people with the most common types of color vision deficiency.
#223556Protanopia
no red cones#192f54Deuteranopia
no green cones#003a3fTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #173255; }
.text { color: #173255; }
.border { border: 2px solid #173255; }
.transparent { background-color: rgb(23 50 85 / 50%); }
.gradient { background: linear-gradient(to right, #173255, #1b1755); }
Similar colors
#0f2d4dMidnight Ocean#042e60Marine#0a3251Beyond the Stars#003153Prussian Blue#003368Neptune’s Dream#273c5aNautilus#03386aLost in Space#143c5dPoseidon
Questions
- What color is #173255?
- #173255 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 #173255?
- The RGB value is 23, 50, 85: 23 red, 50 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #173255?
- The complementary color is #553A17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #173255?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.93:1. WCAG asks for at least 4.5:1 for normal text.