#31353F color
The hex color #31353F is a dark, grayish blue.
In the RGB color model it is made of 19.2% red, 20.8% green and 24.7% blue (49, 53, 63).
Its hue angle is 223°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 22% cyan, 16% magenta, 0% yellow and 75% black.
The closest named color is Total Eclipse (#303543), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.27:1).
#31353F color codes
| HEX | #31353F | |
|---|---|---|
| RGB | rgb(49, 53, 63) | |
| RGB percent | rgb(19.2%, 20.8%, 24.7%) | |
| HSL | hsl(223, 13%, 22%) | |
| HSV / HSB | hsv(223, 22%, 25%) | |
| CMYK | cmyk(22%, 16%, 0%, 75%) | |
| CIE LAB | lab(22.15, 0.89, -6.82) | |
| CIE LCH | lch(22.15, 6.87, 277.41) | |
| CIE XYZ | xyz(3.437, 3.558, 5.207) | |
| Decimal | 3224895 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31353F, 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 #31353F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.27:1 | Pass | Pass | Pass |
| #31353F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.27:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #31353F looks to people with the most common types of color vision deficiency.
#32363fProtanopia
no red cones#31343fDeuteranopia
no green cones#2e3738Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #31353f; }
.text { color: #31353f; }
.border { border: 2px solid #31353f; }
.transparent { background-color: rgb(49 53 63 / 50%); }
.gradient { background: linear-gradient(to right, #31353f, #34313f); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#38393fAfter Midnight#37393eArtist’s Charcoal#35343fWitches Cauldron#393f4bInkblot#36383cVulcan#3b3c41In the Dark
Closest common color name: Gunmetal.
Questions
- What color is #31353F?
- #31353F is a dark, grayish blue, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #31353F?
- The RGB value is 49, 53, 63: 49 red, 53 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #31353F?
- The complementary color is #3F3B31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31353F?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.27:1. WCAG asks for at least 4.5:1 for normal text.