#31383F color
The hex color #31383F is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 22% green and 24.7% blue (49, 56, 63).
Its hue angle is 210°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 22% cyan, 11% magenta, 0% yellow and 75% black.
The closest named color is Do Not Disturb (#363B43), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.88:1).
#31383F color codes
| HEX | #31383F | |
|---|---|---|
| RGB | rgb(49, 56, 63) | |
| RGB percent | rgb(19.2%, 22%, 24.7%) | |
| HSL | hsl(210, 13%, 22%) | |
| HSV / HSB | hsv(210, 22%, 25%) | |
| CMYK | cmyk(22%, 11%, 0%, 75%) | |
| CIE LAB | lab(23.14, -1.12, -5.34) | |
| CIE LCH | lch(23.14, 5.46, 258.17) | |
| CIE XYZ | xyz(3.578, 3.84, 5.254) | |
| Decimal | 3225663 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31383F, 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 #31383F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.88:1 | Pass | Pass | Pass |
| #31383F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.88:1 | Pass | Pass | Pass |
| Sample text | 1.77: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 #31383F looks to people with the most common types of color vision deficiency.
#35383fProtanopia
no red cones#34373fDeuteranopia
no green cones#2d3a3aTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #31383f; }
.text { color: #31383f; }
.border { border: 2px solid #31383f; }
.transparent { background-color: rgb(49 56 63 / 50%); }
.gradient { background: linear-gradient(to right, #31383f, #31313f); }
Similar colors
#363b43Do Not Disturb#303a40Tempest in a Teapot#37393eArtist’s Charcoal#36383cVulcan#2a3439Gunmetal#293135Nightmare Fuel#38393fAfter Midnight#3b3c41In the Dark
Questions
- What color is #31383F?
- #31383F is a dark, grayish azure, closest to the named color Do Not Disturb. It belongs to the gray family of colors.
- What is the RGB value of #31383F?
- The RGB value is 49, 56, 63: 49 red, 56 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #31383F?
- The complementary color is #3F3831, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31383F?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.88:1. WCAG asks for at least 4.5:1 for normal text.