#313A3A color
The hex color #313A3A is a dark, grayish cyan.
In the RGB color model it is made of 19.2% red, 22.7% green and 22.7% blue (49, 58, 58).
Its hue angle is 180°, with 8% saturation and 21% lightness. For print, the CMYK equivalent is 16% cyan, 0% magenta, 0% yellow and 77% black.
The closest named color is Phantom Ship (#2F3434), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.69:1).
#313A3A color codes
| HEX | #313A3A | |
|---|---|---|
| RGB | rgb(49, 58, 58) | |
| RGB percent | rgb(19.2%, 22.7%, 22.7%) | |
| HSL | hsl(180, 8%, 21%) | |
| HSV / HSB | hsv(180, 16%, 23%) | |
| CMYK | cmyk(16%, 0%, 0%, 77%) | |
| CIE LAB | lab(23.62, -3.75, -1.27) | |
| CIE LCH | lch(23.62, 3.96, 198.69) | |
| CIE XYZ | xyz(3.543, 3.984, 4.585) | |
| Decimal | 3226170 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313A3A, 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 #313A3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.69:1 | Pass | Pass | Pass |
| #313A3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.69:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #313A3A looks to people with the most common types of color vision deficiency.
#39393aProtanopia
no red cones#37383aDeuteranopia
no green cones#2e3b3aTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #313a3a; }
.text { color: #313a3a; }
.border { border: 2px solid #313a3a; }
.transparent { background-color: rgb(49 58 58 / 50%); }
.gradient { background: linear-gradient(to right, #313a3a, #31363a); }
Similar colors
#2f3434Phantom Ship#293432Aztec#353838Wet Concrete#353935Onyx#3b3f40Tamahagane#2a3439Gunmetal#303a40Tempest in a Teapot#293135Nightmare Fuel
Questions
- What color is #313A3A?
- #313A3A is a dark, grayish cyan, closest to the named color Phantom Ship. It belongs to the gray family of colors.
- What is the RGB value of #313A3A?
- The RGB value is 49, 58, 58: 49 red, 58 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #313A3A?
- The complementary color is #3A3131, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313A3A?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.69:1. WCAG asks for at least 4.5:1 for normal text.