#31373F color
The hex color #31373F is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 21.6% green and 24.7% blue (49, 55, 63).
Its hue angle is 214°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 22% cyan, 13% magenta, 0% yellow and 75% black.
The closest named color is Do Not Disturb (#363B43), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.01:1).
#31373F color codes
| HEX | #31373F | |
|---|---|---|
| RGB | rgb(49, 55, 63) | |
| RGB percent | rgb(19.2%, 21.6%, 24.7%) | |
| HSL | hsl(214, 13%, 22%) | |
| HSV / HSB | hsv(214, 22%, 25%) | |
| CMYK | cmyk(22%, 13%, 0%, 75%) | |
| CIE LAB | lab(22.81, -0.45, -5.83) | |
| CIE LCH | lch(22.81, 5.85, 265.55) | |
| CIE XYZ | xyz(3.53, 3.744, 5.238) | |
| Decimal | 3225407 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31373F, 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 #31373F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12.01:1 | Pass | Pass | Pass |
| #31373F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.01:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #31373F looks to people with the most common types of color vision deficiency.
#34373fProtanopia
no red cones#33363fDeuteranopia
no green cones#2d393aTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #31373f; }
.text { color: #31373f; }
.border { border: 2px solid #31373f; }
.transparent { background-color: rgb(49 55 63 / 50%); }
.gradient { background: linear-gradient(to right, #31373f, #32313f); }
Similar colors
#363b43Do Not Disturb#37393eArtist’s Charcoal#36383cVulcan#38393fAfter Midnight#303a40Tempest in a Teapot#3b3c41In the Dark#393f4bInkblot#2a3439Gunmetal
Questions
- What color is #31373F?
- #31373F 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 #31373F?
- The RGB value is 49, 55, 63: 49 red, 55 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #31373F?
- The complementary color is #3F3931, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31373F?
- White text. Black text has a contrast ratio of 1.75:1 and white text 12.01:1. WCAG asks for at least 4.5:1 for normal text.