#313530 color
The hex color #313530 is a dark gray.
In the RGB color model it is made of 19.2% red, 20.8% green and 18.8% blue (49, 53, 48).
Its hue angle is 108°, with 5% saturation and 20% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 9% yellow and 79% black.
The closest named color is Onyx (#353935), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.48:1).
#313530 color codes
| HEX | #313530 | |
|---|---|---|
| RGB | rgb(49, 53, 48) | |
| RGB percent | rgb(19.2%, 20.8%, 18.8%) | |
| HSL | hsl(108, 5%, 20%) | |
| HSV / HSB | hsv(108, 9%, 21%) | |
| CMYK | cmyk(8%, 0%, 9%, 79%) | |
| CIE LAB | lab(21.63, -2.89, 2.56) | |
| CIE LCH | lch(21.63, 3.86, 138.45) | |
| CIE XYZ | xyz(3.073, 3.413, 3.293) | |
| Decimal | 3224880 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313530, 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 #313530 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.48:1 | Pass | Pass | Pass |
| #313530 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.48:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #313530 looks to people with the most common types of color vision deficiency.
#353430Protanopia
no red cones#353430Deuteranopia
no green cones#313534Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #313530; }
.text { color: #313530; }
.border { border: 2px solid #313530; }
.transparent { background-color: rgb(49 53 48 / 50%); }
.gradient { background: linear-gradient(to right, #313530, #303532); }
Similar colors
#353935Onyx#313330Oil#2b322dTerminal Black#2b2e26Marshland#3b3c36Black Olive#2f3434Phantom Ship#353838Wet Concrete#293432Aztec
Questions
- What color is #313530?
- #313530 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
- What is the RGB value of #313530?
- The RGB value is 49, 53, 48: 49 red, 53 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #313530?
- The complementary color is #343035, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313530?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.48:1. WCAG asks for at least 4.5:1 for normal text.