#313547 color
The hex color #313547 is a dark, grayish blue.
In the RGB color model it is made of 19.2% red, 20.8% green and 27.8% blue (49, 53, 71).
Its hue angle is 229°, with 18% saturation and 24% lightness. For print, the CMYK equivalent is 31% cyan, 25% magenta, 0% yellow and 72% black.
The closest named color is Shuriken (#333344), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.13:1).
#313547 color codes
| HEX | #313547 | |
|---|---|---|
| RGB | rgb(49, 53, 71) | |
| RGB percent | rgb(19.2%, 20.8%, 27.8%) | |
| HSL | hsl(229, 18%, 24%) | |
| HSV / HSB | hsv(229, 31%, 28%) | |
| CMYK | cmyk(31%, 25%, 0%, 72%) | |
| CIE LAB | lab(22.49, 3.18, -11.68) | |
| CIE LCH | lch(22.49, 12.11, 285.24) | |
| CIE XYZ | xyz(3.677, 3.654, 6.472) | |
| Decimal | 3224903 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313547, 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 #313547 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.13:1 | Pass | Pass | Pass |
| #313547 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.13:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #313547 looks to people with the most common types of color vision deficiency.
#303748Protanopia
no red cones#2e3547Deuteranopia
no green cones#2b383bTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #313547; }
.text { color: #313547; }
.border { border: 2px solid #313547; }
.transparent { background-color: rgb(49 53 71 / 50%); }
.gradient { background: linear-gradient(to right, #313547, #383147); }
Similar colors
#333344Shuriken#303543Total Eclipse#35343fWitches Cauldron#3c4151Lava Stone#2c2e47Midnight Masquerade#353f51Dark & Stormy#3f4250Madonna#393540Professor Plum
Closest common color name: Gunmetal.
Questions
- What color is #313547?
- #313547 is a dark, grayish blue, closest to the named color Shuriken. It belongs to the gray family of colors.
- What is the RGB value of #313547?
- The RGB value is 49, 53, 71: 49 red, 53 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #313547?
- The complementary color is #474331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313547?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.13:1. WCAG asks for at least 4.5:1 for normal text.