#172834 color
The hex color #172834 is a very dark, desaturated azure.
In the RGB color model it is made of 9% red, 15.7% green and 20.4% blue (23, 40, 52).
Its hue angle is 205°, with 39% saturation and 15% lightness. For print, the CMYK equivalent is 56% cyan, 23% magenta, 0% yellow and 80% black.
The closest named color is Oceanic Noir (#172B36), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.11:1).
#172834 color codes
| HEX | #172834 | |
|---|---|---|
| RGB | rgb(23, 40, 52) | |
| RGB percent | rgb(9%, 15.7%, 20.4%) | |
| HSL | hsl(205, 39%, 15%) | |
| HSV / HSB | hsv(205, 56%, 20%) | |
| CMYK | cmyk(56%, 23%, 0%, 80%) | |
| CIE LAB | lab(15.21, -2.96, -9.98) | |
| CIE LCH | lch(15.21, 10.41, 253.51) | |
| CIE XYZ | xyz(1.732, 1.948, 3.533) | |
| Decimal | 1517620 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172834, 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 #172834 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.11:1 | Pass | Pass | Pass |
| #172834 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.11:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #172834 looks to people with the most common types of color vision deficiency.
#232835Protanopia
no red cones#1f2534Deuteranopia
no green cones#0a2b2cTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #172834; }
.text { color: #172834; }
.border { border: 2px solid #172834; }
.transparent { background-color: rgb(23 40 52 / 50%); }
.gradient { background: linear-gradient(to right, #172834, #171a34); }
Similar colors
#172b36Oceanic Noir#1e3442Blue Whale#002233Midnight Dreams#102030The Count’s Black#1b2431Dark#1e272cBlack Pearl#222831Infinity#243640Petrol Slumber
Closest common color name: Gunmetal.
Questions
- What color is #172834?
- #172834 is a very dark, desaturated azure, closest to the named color Oceanic Noir. It belongs to the black family of colors.
- What is the RGB value of #172834?
- The RGB value is 23, 40, 52: 23 red, 40 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #172834?
- The complementary color is #342317, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172834?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.11:1. WCAG asks for at least 4.5:1 for normal text.