#17162D color
The hex color #17162D is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 8.6% green and 17.6% blue (23, 22, 45).
Its hue angle is 243°, with 34% saturation and 13% lightness. For print, the CMYK equivalent is 49% cyan, 51% magenta, 0% yellow and 82% black.
The closest named color is Dark Knight (#151931), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.66:1).
#17162D color codes
| HEX | #17162D | |
|---|---|---|
| RGB | rgb(23, 22, 45) | |
| RGB percent | rgb(9%, 8.6%, 17.6%) | |
| HSL | hsl(243, 34%, 13%) | |
| HSV / HSB | hsv(243, 51%, 18%) | |
| CMYK | cmyk(49%, 51%, 0%, 82%) | |
| CIE LAB | lab(8.53, 7.84, -15.35) | |
| CIE LCH | lch(8.53, 17.24, 297.07) | |
| CIE XYZ | xyz(1.114, 0.945, 2.606) | |
| Decimal | 1513005 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #17162D, 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 #17162D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.66:1 | Pass | Pass | Pass |
| #17162D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.66:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #17162D looks to people with the most common types of color vision deficiency.
#0e192eProtanopia
no red cones#0d182cDeuteranopia
no green cones#111b1fTritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #17162d; }
.text { color: #17162d; }
.border { border: 2px solid #17162d; }
.transparent { background-color: rgb(23 22 45 / 50%); }
.gradient { background: linear-gradient(to right, #17162d, #23162d); }
Similar colors
#151931Dark Knight#111122Corbeau#161d3bNightwalker#060929Mysterious Depths#1f2133Eclipse Elixir#161e34Sombre Night#050d25Void#222233Black Velvet
Closest common color name: Dark Purple.
Questions
- What color is #17162D?
- #17162D is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #17162D?
- The RGB value is 23, 22, 45: 23 red, 22 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #17162D?
- The complementary color is #2C2D16, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #17162D?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.66:1. WCAG asks for at least 4.5:1 for normal text.