#313832 color
The hex color #313832 is a dark gray.
In the RGB color model it is made of 19.2% red, 22% green and 19.6% blue (49, 56, 50).
Its hue angle is 129°, with 7% saturation and 21% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 11% yellow and 78% black.
The closest named color is Terminal Black (#2B322D), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.05:1).
#313832 color codes
| HEX | #313832 | |
|---|---|---|
| RGB | rgb(49, 56, 50) | |
| RGB percent | rgb(19.2%, 22%, 19.6%) | |
| HSL | hsl(129, 7%, 21%) | |
| HSV / HSB | hsv(129, 12%, 22%) | |
| CMYK | cmyk(13%, 0%, 11%, 78%) | |
| CIE LAB | lab(22.69, -4.39, 2.75) | |
| CIE LCH | lch(22.69, 5.18, 147.94) | |
| CIE XYZ | xyz(3.256, 3.712, 3.562) | |
| Decimal | 3225650 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313832, 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 #313832 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.05:1 | Pass | Pass | Pass |
| #313832 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.05:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #313832 looks to people with the most common types of color vision deficiency.
#383732Protanopia
no red cones#373632Deuteranopia
no green cones#303836Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #313832; }
.text { color: #313832; }
.border { border: 2px solid #313832; }
.transparent { background-color: rgb(49 56 50 / 50%); }
.gradient { background: linear-gradient(to right, #313832, #313835); }
Similar colors
#2b322dTerminal Black#353935Onyx#293432Aztec#2b2e26Marshland#313330Oil#3b3c36Black Olive#2f3434Phantom Ship#3c463eDeep Forest
Questions
- What color is #313832?
- #313832 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 #313832?
- The RGB value is 49, 56, 50: 49 red, 56 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #313832?
- The complementary color is #383137, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313832?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.05:1. WCAG asks for at least 4.5:1 for normal text.