#172E36 color
The hex color #172E36 is a very dark, desaturated azure.
In the RGB color model it is made of 9% red, 18% green and 21.2% blue (23, 46, 54).
Its hue angle is 195°, with 40% saturation and 15% lightness. For print, the CMYK equivalent is 57% cyan, 15% magenta, 0% yellow and 79% black.
The closest named color is Black Box (#0F282F), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.18:1).
#172E36 color codes
| HEX | #172E36 | |
|---|---|---|
| RGB | rgb(23, 46, 54) | |
| RGB percent | rgb(9%, 18%, 21.2%) | |
| HSL | hsl(195, 40%, 15%) | |
| HSV / HSB | hsv(195, 57%, 21%) | |
| CMYK | cmyk(57%, 15%, 0%, 79%) | |
| CIE LAB | lab(17.47, -6.33, -7.92) | |
| CIE LCH | lch(17.47, 10.14, 231.39) | |
| CIE XYZ | xyz(1.996, 2.402, 3.848) | |
| Decimal | 1519158 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172E36, 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 #172E36 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.18:1 | Pass | Pass | Pass |
| #172E36 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.18:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #172E36 looks to people with the most common types of color vision deficiency.
#292d36Protanopia
no red cones#252936Deuteranopia
no green cones#073131Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #172e36; }
.text { color: #172e36; }
.border { border: 2px solid #172e36; }
.transparent { background-color: rgb(23 46 54 / 50%); }
.gradient { background: linear-gradient(to right, #172e36, #171e36); }
Similar colors
#0f282fBlack Box#172b36Oceanic Noir#10252aSunken Ship#1e3642Into the Night#203943Astral Nomad#243640Petrol Slumber#1e3442Blue Whale#133337Elite Teal
Closest common color name: Gunmetal.
Questions
- What color is #172E36?
- #172E36 is a very dark, desaturated azure, closest to the named color Black Box. It belongs to the black family of colors.
- What is the RGB value of #172E36?
- The RGB value is 23, 46, 54: 23 red, 46 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #172E36?
- The complementary color is #361F17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172E36?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.18:1. WCAG asks for at least 4.5:1 for normal text.