#13171B color
The hex color #13171B is a very dark, grayish azure.
In the RGB color model it is made of 7.5% red, 9% green and 10.6% blue (19, 23, 27).
Its hue angle is 210°, with 17% saturation and 9% lightness. For print, the CMYK equivalent is 30% cyan, 15% magenta, 0% yellow and 89% black.
The closest named color is Dark Moon (#161718), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.01:1).
#13171B color codes
| HEX | #13171B | |
|---|---|---|
| RGB | rgb(19, 23, 27) | |
| RGB percent | rgb(7.5%, 9%, 10.6%) | |
| HSL | hsl(210, 17%, 9%) | |
| HSV / HSB | hsv(210, 30%, 11%) | |
| CMYK | cmyk(30%, 15%, 0%, 89%) | |
| CIE LAB | lab(7.5, -0.68, -3.44) | |
| CIE LCH | lch(7.5, 3.51, 258.9) | |
| CIE XYZ | xyz(0.773, 0.83, 1.156) | |
| Decimal | 1251099 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #13171B, 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 #13171B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 18.01:1 | Pass | Pass | Pass |
| #13171B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.01: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 #13171B looks to people with the most common types of color vision deficiency.
#16171bProtanopia
no red cones#15161bDeuteranopia
no green cones#111818Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #13171b; }
.text { color: #13171b; }
.border { border: 2px solid #13171b; }
.transparent { background-color: rgb(19 23 27 / 50%); }
.gradient { background: linear-gradient(to right, #13171b, #13131b); }
Similar colors
#161718Dark Moon#17171aPiano Black#1c1e21Satin Deep Black#151517Dark Void#0f1012Ruined Smores#010b13Rich Black#010b13Black Knight#0b0c10Midnight Black
Questions
- What color is #13171B?
- #13171B is a very dark, grayish azure, closest to the named color Dark Moon. It belongs to the black family of colors.
- What is the RGB value of #13171B?
- The RGB value is 19, 23, 27: 19 red, 23 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #13171B?
- The complementary color is #1B1713, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #13171B?
- White text. Black text has a contrast ratio of 1.17:1 and white text 18.01:1. WCAG asks for at least 4.5:1 for normal text.