#17142C color
The hex color #17142C is a very dark, desaturated blue.
In the RGB color model it is made of 9% red, 7.8% green and 17.3% blue (23, 20, 44).
Its hue angle is 248°, with 38% saturation and 13% lightness. For print, the CMYK equivalent is 48% cyan, 55% magenta, 0% yellow and 83% black.
The closest named color is Dark Knight (#151931), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.9:1).
#17142C color codes
| HEX | #17142C | |
|---|---|---|
| RGB | rgb(23, 20, 44) | |
| RGB percent | rgb(9%, 7.8%, 17.3%) | |
| HSL | hsl(248, 38%, 13%) | |
| HSV / HSB | hsv(248, 55%, 17%) | |
| CMYK | cmyk(48%, 55%, 0%, 83%) | |
| CIE LAB | lab(7.81, 9.02, -15.75) | |
| CIE LCH | lch(7.81, 18.15, 299.81) | |
| CIE XYZ | xyz(1.058, 0.864, 2.493) | |
| Decimal | 1512492 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #17142C, 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 #17142C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.9:1 | Pass | Pass | Pass |
| #17142C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.9:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #17142C looks to people with the most common types of color vision deficiency.
#0b182dProtanopia
no red cones#0b172bDeuteranopia
no green cones#11191dTritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #17142c; }
.text { color: #17142c; }
.border { border: 2px solid #17142c; }
.transparent { background-color: rgb(23 20 44 / 50%); }
.gradient { background: linear-gradient(to right, #17142c, #23142c); }
Similar colors
#151931Dark Knight#060929Mysterious Depths#111122Corbeau#161d3bNightwalker#1c0f33Midnight Monarch#050d25Void#222244Black Market#1f2133Eclipse Elixir
Closest common color name: Dark Purple.
Questions
- What color is #17142C?
- #17142C 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 #17142C?
- The RGB value is 23, 20, 44: 23 red, 20 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #17142C?
- The complementary color is #292C14, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #17142C?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.9:1. WCAG asks for at least 4.5:1 for normal text.