#313933 color
The hex color #313933 is a dark gray.
In the RGB color model it is made of 19.2% red, 22.4% green and 20% blue (49, 57, 51).
Its hue angle is 135°, with 8% saturation and 21% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 11% yellow and 78% black.
The closest named color is Terminal Black (#2B322D), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.91:1).
#313933 color codes
| HEX | #313933 | |
|---|---|---|
| RGB | rgb(49, 57, 51) | |
| RGB percent | rgb(19.2%, 22.4%, 20%) | |
| HSL | hsl(135, 8%, 21%) | |
| HSV / HSB | hsv(135, 14%, 22%) | |
| CMYK | cmyk(14%, 0%, 11%, 78%) | |
| CIE LAB | lab(23.06, -4.8, 2.61) | |
| CIE LCH | lch(23.06, 5.47, 151.52) | |
| CIE XYZ | xyz(3.327, 3.818, 3.693) | |
| Decimal | 3225907 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313933, 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 #313933 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.91:1 | Pass | Pass | Pass |
| #313933 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.91:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #313933 looks to people with the most common types of color vision deficiency.
#393833Protanopia
no red cones#383733Deuteranopia
no green cones#303937Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #313933; }
.text { color: #313933; }
.border { border: 2px solid #313933; }
.transparent { background-color: rgb(49 57 51 / 50%); }
.gradient { background: linear-gradient(to right, #313933, #313937); }
Similar colors
#2b322dTerminal Black#353935Onyx#293432Aztec#3b3c36Black Olive#2b2e26Marshland#313330Oil#3c463eDeep Forest#2f3434Phantom Ship
Questions
- What color is #313933?
- #313933 is a dark gray, closest to the named color Terminal Black. It belongs to the gray family of colors.
- What is the RGB value of #313933?
- The RGB value is 49, 57, 51: 49 red, 57 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #313933?
- The complementary color is #393137, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313933?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.91:1. WCAG asks for at least 4.5:1 for normal text.