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