#313949 color
The hex color #313949 is a dark, grayish blue.
In the RGB color model it is made of 19.2% red, 22.4% green and 28.6% blue (49, 57, 73).
Its hue angle is 220°, with 20% saturation and 24% lightness. For print, the CMYK equivalent is 33% cyan, 22% magenta, 0% yellow and 71% black.
The closest named color is Total Eclipse (#303543), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.59:1).
#313949 color codes
| HEX | #313949 | |
|---|---|---|
| RGB | rgb(49, 57, 73) | |
| RGB percent | rgb(19.2%, 22.4%, 28.6%) | |
| HSL | hsl(220, 20%, 24%) | |
| HSV / HSB | hsv(220, 33%, 29%) | |
| CMYK | cmyk(33%, 22%, 0%, 71%) | |
| CIE LAB | lab(23.87, 1.08, -10.91) | |
| CIE LCH | lch(23.87, 10.97, 275.63) | |
| CIE XYZ | xyz(3.932, 4.06, 6.879) | |
| Decimal | 3225929 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313949, 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 #313949 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.59:1 | Pass | Pass | Pass |
| #313949 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.59:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #313949 looks to people with the most common types of color vision deficiency.
#343a4aProtanopia
no red cones#323849Deuteranopia
no green cones#2a3c3eTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #313949; }
.text { color: #313949; }
.border { border: 2px solid #313949; }
.transparent { background-color: rgb(49 57 73 / 50%); }
.gradient { background: linear-gradient(to right, #313949, #353149); }
Similar colors
#303543Total Eclipse#353f51Dark & Stormy#393f4bInkblot#3c4151Lava Stone#3f4250Madonna#363b43Do Not Disturb#314159Pi#3f4551Dark Crypt
Closest common color name: Charcoal.
Questions
- What color is #313949?
- #313949 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 #313949?
- The RGB value is 49, 57, 73: 49 red, 57 green and 73 blue on a 0 to 255 scale.
- What is the complementary color of #313949?
- The complementary color is #494131, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313949?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.59:1. WCAG asks for at least 4.5:1 for normal text.