#313E47 color
The hex color #313E47 is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 24.3% green and 27.8% blue (49, 62, 71).
Its hue angle is 205°, with 18% saturation and 24% lightness. For print, the CMYK equivalent is 31% cyan, 13% magenta, 0% yellow and 72% black.
The closest named color is Tempest in a Teapot (#303A40), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.99:1).
#313E47 color codes
| HEX | #313E47 | |
|---|---|---|
| RGB | rgb(49, 62, 71) | |
| RGB percent | rgb(19.2%, 24.3%, 27.8%) | |
| HSL | hsl(205, 18%, 24%) | |
| HSV / HSB | hsv(205, 31%, 28%) | |
| CMYK | cmyk(31%, 13%, 0%, 72%) | |
| CIE LAB | lab(25.42, -2.81, -7.23) | |
| CIE LCH | lch(25.42, 7.76, 248.76) | |
| CIE XYZ | xyz(4.126, 4.553, 6.621) | |
| Decimal | 3227207 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313E47, 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 #313E47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.91:1 | Fail | Fail | Fail |
| Sample text | 10.99:1 | Pass | Pass | Pass |
| #313E47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.99:1 | Pass | Pass | Pass |
| Sample text | 1.91: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 #313E47 looks to people with the most common types of color vision deficiency.
#3a3e47Protanopia
no red cones#373b47Deuteranopia
no green cones#2a4041Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #313e47; }
.text { color: #313e47; }
.border { border: 2px solid #313e47; }
.transparent { background-color: rgb(49 62 71 / 50%); }
.gradient { background: linear-gradient(to right, #313e47, #313347); }
Similar colors
#303a40Tempest in a Teapot#36454fCharcoal#3b444bArsenic#243640Petrol Slumber#363b43Do Not Disturb#2a3439Gunmetal#253f4eDepths of the Nile#3d474bLights Out
Questions
- What color is #313E47?
- #313E47 is a dark, grayish azure, closest to the named color Tempest in a Teapot. It belongs to the gray family of colors.
- What is the RGB value of #313E47?
- The RGB value is 49, 62, 71: 49 red, 62 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #313E47?
- The complementary color is #473A31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313E47?
- White text. Black text has a contrast ratio of 1.91:1 and white text 10.99:1. WCAG asks for at least 4.5:1 for normal text.