#323731 color
The hex color #323731 is a dark gray.
In the RGB color model it is made of 19.6% red, 21.6% green and 19.2% blue (50, 55, 49).
Its hue angle is 110°, with 6% saturation and 20% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 11% yellow and 78% black.
The closest named color is Onyx (#353935), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.16:1).
#323731 color codes
| HEX | #323731 | |
|---|---|---|
| RGB | rgb(50, 55, 49) | |
| RGB percent | rgb(19.6%, 21.6%, 19.2%) | |
| HSL | hsl(110, 6%, 20%) | |
| HSV / HSB | hsv(110, 11%, 22%) | |
| CMYK | cmyk(9%, 0%, 11%, 78%) | |
| CIE LAB | lab(22.42, -3.54, 3.03) | |
| CIE LCH | lch(22.42, 4.66, 139.36) | |
| CIE XYZ | xyz(3.236, 3.632, 3.436) | |
| Decimal | 3290929 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #323731, 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 #323731 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.16:1 | Pass | Pass | Pass |
| #323731 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.16:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #323731 looks to people with the most common types of color vision deficiency.
#373631Protanopia
no red cones#373531Deuteranopia
no green cones#323735Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #323731; }
.text { color: #323731; }
.border { border: 2px solid #323731; }
.transparent { background-color: rgb(50 55 49 / 50%); }
.gradient { background: linear-gradient(to right, #323731, #313733); }
Similar colors
#353935Onyx#2b322dTerminal Black#313330Oil#3b3c36Black Olive#2b2e26Marshland#293432Aztec#2f3434Phantom Ship#353838Wet Concrete
Questions
- What color is #323731?
- #323731 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #323731?
- The RGB value is 50, 55, 49: 50 red, 55 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #323731?
- The complementary color is #363137, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #323731?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.16:1. WCAG asks for at least 4.5:1 for normal text.