#313D5D color
The hex color #313D5D is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 23.9% green and 36.5% blue (49, 61, 93).
Its hue angle is 224°, with 31% saturation and 28% lightness. For print, the CMYK equivalent is 47% cyan, 34% magenta, 0% yellow and 64% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.74:1).
#313D5D color codes
| HEX | #313D5D | |
|---|---|---|
| RGB | rgb(49, 61, 93) | |
| RGB percent | rgb(19.2%, 23.9%, 36.5%) | |
| HSL | hsl(224, 31%, 28%) | |
| HSV / HSB | hsv(224, 47%, 36%) | |
| CMYK | cmyk(47%, 34%, 0%, 64%) | |
| CIE LAB | lab(26.1, 4.76, -20.61) | |
| CIE LCH | lch(26.1, 21.15, 283) | |
| CIE XYZ | xyz(4.911, 4.78, 11.018) | |
| Decimal | 3226973 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313D5D, 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 #313D5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.96:1 | Fail | Fail | Fail |
| Sample text | 10.74:1 | Pass | Pass | Pass |
| #313D5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.74:1 | Pass | Pass | Pass |
| Sample text | 1.96: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 #313D5D looks to people with the most common types of color vision deficiency.
#32405eProtanopia
no red cones#2d3c5cDeuteranopia
no green cones#214448Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #313d5d; }
.text { color: #313d5d; }
.border { border: 2px solid #313d5d; }
.transparent { background-color: rgb(49 61 93 / 50%); }
.gradient { background: linear-gradient(to right, #313d5d, #3b315d); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#273c5aNautilus#3e4364Genie#3b476bStarlit Night#34466cForlorn Cruise#3a4866Bonne Nuit#2c4364Black Turmeric
Closest common color name: Prussian Blue.
Questions
- What color is #313D5D?
- #313D5D is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #313D5D?
- The RGB value is 49, 61, 93: 49 red, 61 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #313D5D?
- The complementary color is #5D5131, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313D5D?
- White text. Black text has a contrast ratio of 1.96:1 and white text 10.74:1. WCAG asks for at least 4.5:1 for normal text.