#313339 color
The hex color #313339 is a dark gray.
In the RGB color model it is made of 19.2% red, 20% green and 22.4% blue (49, 51, 57).
Its hue angle is 225°, with 8% saturation and 21% lightness. For print, the CMYK equivalent is 14% cyan, 11% magenta, 0% yellow and 78% black.
The closest named color is Artist’s Charcoal (#37393E), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.63:1).
#313339 color codes
| HEX | #313339 | |
|---|---|---|
| RGB | rgb(49, 51, 57) | |
| RGB percent | rgb(19.2%, 20%, 22.4%) | |
| HSL | hsl(225, 8%, 21%) | |
| HSV / HSB | hsv(225, 14%, 22%) | |
| CMYK | cmyk(14%, 11%, 0%, 78%) | |
| CIE LAB | lab(21.27, 0.63, -4.08) | |
| CIE LCH | lch(21.27, 4.12, 278.75) | |
| CIE XYZ | xyz(3.189, 3.316, 4.342) | |
| Decimal | 3224377 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313339, 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 #313339 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.63:1 | Pass | Pass | Pass |
| #313339 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.63:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #313339 looks to people with the most common types of color vision deficiency.
#313339Protanopia
no red cones#313339Deuteranopia
no green cones#2f3435Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #313339; }
.text { color: #313339; }
.border { border: 2px solid #313339; }
.transparent { background-color: rgb(49 51 57 / 50%); }
.gradient { background: linear-gradient(to right, #313339, #333139); }
Similar colors
#37393eArtist’s Charcoal#36383cVulcan#38393fAfter Midnight#2b2c30Caviar#292b31Night Sky#363b43Do Not Disturb#3b3c41In the Dark#29292fJaguar
Closest common color name: Jet Black.
Questions
- What color is #313339?
- #313339 is a dark gray, closest to the named color Artist’s Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #313339?
- The RGB value is 49, 51, 57: 49 red, 51 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #313339?
- The complementary color is #393731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313339?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.63:1. WCAG asks for at least 4.5:1 for normal text.