#31383A color
The hex color #31383A is a dark, grayish cyan.
In the RGB color model it is made of 19.2% red, 22% green and 22.7% blue (49, 56, 58).
Its hue angle is 193°, with 8% saturation and 21% lightness. For print, the CMYK equivalent is 16% cyan, 3% magenta, 0% yellow and 77% black.
The closest named color is Phantom Ship (#2F3434), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.95:1).
#31383A color codes
| HEX | #31383A | |
|---|---|---|
| RGB | rgb(49, 56, 58) | |
| RGB percent | rgb(19.2%, 22%, 22.7%) | |
| HSL | hsl(193, 8%, 21%) | |
| HSV / HSB | hsv(193, 16%, 23%) | |
| CMYK | cmyk(16%, 3%, 0%, 77%) | |
| CIE LAB | lab(22.95, -2.44, -2.25) | |
| CIE LCH | lch(22.95, 3.32, 222.65) | |
| CIE XYZ | xyz(3.444, 3.787, 4.552) | |
| Decimal | 3225658 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31383A, 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 #31383A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.95:1 | Pass | Pass | Pass |
| #31383A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.95: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 #31383A looks to people with the most common types of color vision deficiency.
#37373aProtanopia
no red cones#35363aDeuteranopia
no green cones#2f3939Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #31383a; }
.text { color: #31383a; }
.border { border: 2px solid #31383a; }
.transparent { background-color: rgb(49 56 58 / 50%); }
.gradient { background: linear-gradient(to right, #31383a, #31333a); }
Similar colors
#2f3434Phantom Ship#353838Wet Concrete#2a3439Gunmetal#303a40Tempest in a Teapot#293135Nightmare Fuel#3b3f40Tamahagane#36383cVulcan#3e4244Metropolitan Silhouette
Questions
- What color is #31383A?
- #31383A 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 #31383A?
- The RGB value is 49, 56, 58: 49 red, 56 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #31383A?
- The complementary color is #3A3331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31383A?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.95:1. WCAG asks for at least 4.5:1 for normal text.