#172C3B color
The hex color #172C3B is a very dark, desaturated azure.
In the RGB color model it is made of 9% red, 17.3% green and 23.1% blue (23, 44, 59).
Its hue angle is 205°, with 44% saturation and 16% lightness. For print, the CMYK equivalent is 61% cyan, 25% magenta, 0% yellow and 77% black.
The closest named color is Oceanic Noir (#172B36), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.38:1).
#172C3B color codes
| HEX | #172C3B | |
|---|---|---|
| RGB | rgb(23, 44, 59) | |
| RGB percent | rgb(9%, 17.3%, 23.1%) | |
| HSL | hsl(205, 44%, 16%) | |
| HSV / HSB | hsv(205, 61%, 23%) | |
| CMYK | cmyk(61%, 25%, 0%, 77%) | |
| CIE LAB | lab(16.98, -3.15, -12.14) | |
| CIE LCH | lch(16.98, 12.54, 255.45) | |
| CIE XYZ | xyz(2.043, 2.299, 4.473) | |
| Decimal | 1518651 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172C3B, 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 #172C3B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.38:1 | Pass | Pass | Pass |
| #172C3B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.38:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #172C3B looks to people with the most common types of color vision deficiency.
#252c3cProtanopia
no red cones#21283bDeuteranopia
no green cones#033031Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #172c3b; }
.text { color: #172c3b; }
.border { border: 2px solid #172c3b; }
.transparent { background-color: rgb(23 44 59 / 50%); }
.gradient { background: linear-gradient(to right, #172c3b, #171a3b); }
Similar colors
#172b36Oceanic Noir#1e3442Blue Whale#002233Midnight Dreams#1e3642Into the Night#243640Petrol Slumber#102030The Count’s Black#1b2431Dark#0b334dSea of Stars
Closest common color name: Gunmetal.
Questions
- What color is #172C3B?
- #172C3B is a very dark, desaturated azure, closest to the named color Oceanic Noir. It belongs to the gray family of colors.
- What is the RGB value of #172C3B?
- The RGB value is 23, 44, 59: 23 red, 44 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #172C3B?
- The complementary color is #3B2617, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172C3B?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.38:1. WCAG asks for at least 4.5:1 for normal text.