#313844 color
The hex color #313844 is a dark, grayish azure.
In the RGB color model it is made of 19.2% red, 22% green and 26.7% blue (49, 56, 68).
Its hue angle is 218°, with 16% saturation and 23% lightness. For print, the CMYK equivalent is 28% cyan, 18% magenta, 0% yellow and 73% 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 11.8:1).
#313844 color codes
| HEX | #313844 | |
|---|---|---|
| RGB | rgb(49, 56, 68) | |
| RGB percent | rgb(19.2%, 22%, 26.7%) | |
| HSL | hsl(218, 16%, 23%) | |
| HSV / HSB | hsv(218, 28%, 27%) | |
| CMYK | cmyk(28%, 18%, 0%, 73%) | |
| CIE LAB | lab(23.33, 0.28, -8.39) | |
| CIE LCH | lch(23.33, 8.4, 271.92) | |
| CIE XYZ | xyz(3.724, 3.899, 6.024) | |
| Decimal | 3225668 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313844, 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 #313844 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.8:1 | Pass | Pass | Pass |
| #313844 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.8:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #313844 looks to people with the most common types of color vision deficiency.
#343945Protanopia
no red cones#323744Deuteranopia
no green cones#2c3a3cTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #313844; }
.text { color: #313844; }
.border { border: 2px solid #313844; }
.transparent { background-color: rgb(49 56 68 / 50%); }
.gradient { background: linear-gradient(to right, #313844, #333144); }
Similar colors
#303543Total Eclipse#363b43Do Not Disturb#393f4bInkblot#353f51Dark & Stormy#38393fAfter Midnight#37393eArtist’s Charcoal#3c4151Lava Stone#3f4551Dark Crypt
Closest common color name: Gunmetal.
Questions
- What color is #313844?
- #313844 is a dark, grayish azure, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #313844?
- The RGB value is 49, 56, 68: 49 red, 56 green and 68 blue on a 0 to 255 scale.
- What is the complementary color of #313844?
- The complementary color is #443D31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313844?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.8:1. WCAG asks for at least 4.5:1 for normal text.