#172134 color
The hex color #172134 is a very dark, desaturated azure.
In the RGB color model it is made of 9% red, 12.9% green and 20.4% blue (23, 33, 52).
Its hue angle is 219°, with 39% saturation and 15% lightness. For print, the CMYK equivalent is 56% cyan, 37% magenta, 0% yellow and 80% black.
The closest named color is Trapped Darkness (#0E1D32), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.11:1).
#172134 color codes
| HEX | #172134 | |
|---|---|---|
| RGB | rgb(23, 33, 52) | |
| RGB percent | rgb(9%, 12.9%, 20.4%) | |
| HSL | hsl(219, 39%, 15%) | |
| HSV / HSB | hsv(219, 56%, 20%) | |
| CMYK | cmyk(56%, 37%, 0%, 80%) | |
| CIE LAB | lab(12.72, 2.09, -13.84) | |
| CIE LCH | lch(12.72, 13.99, 278.59) | |
| CIE XYZ | xyz(1.517, 1.518, 3.461) | |
| Decimal | 1515828 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172134, 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 #172134 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.11:1 | Pass | Pass | Pass |
| #172134 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.11:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #172134 looks to people with the most common types of color vision deficiency.
#1a2235Protanopia
no red cones#172034Deuteranopia
no green cones#0b2528Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #172134; }
.text { color: #172134; }
.border { border: 2px solid #172134; }
.transparent { background-color: rgb(23 33 52 / 50%); }
.gradient { background: linear-gradient(to right, #172134, #1b1734); }
Similar colors
#0e1d32Trapped Darkness#1e2433Moonless Mystery#161e34Sombre Night#21263aMidnight Express#1c2841Eternal Darkness#1b2431Dark#1f2133Eclipse Elixir#102030The Count’s Black
Closest common color name: Oxford Blue.
Questions
- What color is #172134?
- #172134 is a very dark, desaturated azure, closest to the named color Trapped Darkness. It belongs to the blue family of colors.
- What is the RGB value of #172134?
- The RGB value is 23, 33, 52: 23 red, 33 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #172134?
- The complementary color is #342A17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172134?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.11:1. WCAG asks for at least 4.5:1 for normal text.