#131317 color
The hex color #131317 is a very dark, grayish blue.
In the RGB color model it is made of 7.5% red, 7.5% green and 9% blue (19, 19, 23).
Its hue angle is 240°, with 10% saturation and 8% lightness. For print, the CMYK equivalent is 17% cyan, 17% magenta, 0% yellow and 91% black.
The closest named color is Piano Black (#17171A), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.53:1).
#131317 color codes
| HEX | #131317 | |
|---|---|---|
| RGB | rgb(19, 19, 23) | |
| RGB percent | rgb(7.5%, 7.5%, 9%) | |
| HSL | hsl(240, 10%, 8%) | |
| HSV / HSB | hsv(240, 17%, 9%) | |
| CMYK | cmyk(17%, 17%, 0%, 91%) | |
| CIE LAB | lab(6.02, 0.94, -2.56) | |
| CIE LCH | lch(6.02, 2.73, 290.17) | |
| CIE XYZ | xyz(0.656, 0.666, 0.904) | |
| Decimal | 1250071 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #131317, 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 #131317 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.53:1 | Pass | Pass | Pass |
| #131317 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.53:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #131317 looks to people with the most common types of color vision deficiency.
#121317Protanopia
no red cones#121317Deuteranopia
no green cones#121414Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #131317; }
.text { color: #131317; }
.border { border: 2px solid #131317; }
.transparent { background-color: rgb(19 19 23 / 50%); }
.gradient { background: linear-gradient(to right, #131317, #151317); }
Similar colors
#17171aPiano Black#151517Dark Void#0b0c10Midnight Black#0f1012Ruined Smores#0b0c14Midnight Oil#161718Dark Moon#16161dEigengrau#131313Cursed Black
Questions
- What color is #131317?
- #131317 is a very dark, grayish blue, closest to the named color Piano Black. It belongs to the black family of colors.
- What is the RGB value of #131317?
- The RGB value is 19, 19, 23: 19 red, 19 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #131317?
- The complementary color is #171713, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #131317?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.53:1. WCAG asks for at least 4.5:1 for normal text.