#313B58 color
The hex color #313B58 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 23.1% green and 34.5% blue (49, 59, 88).
Its hue angle is 225°, with 28% saturation and 27% lightness. For print, the CMYK equivalent is 44% cyan, 33% magenta, 0% yellow and 65% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.07:1).
#313B58 color codes
| HEX | #313B58 | |
|---|---|---|
| RGB | rgb(49, 59, 88) | |
| RGB percent | rgb(19.2%, 23.1%, 34.5%) | |
| HSL | hsl(225, 28%, 27%) | |
| HSV / HSB | hsv(225, 44%, 35%) | |
| CMYK | cmyk(44%, 33%, 0%, 65%) | |
| CIE LAB | lab(25.21, 4.45, -18.74) | |
| CIE LCH | lch(25.21, 19.26, 283.36) | |
| CIE XYZ | xyz(4.591, 4.485, 9.854) | |
| Decimal | 3226456 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313B58, 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 #313B58 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.9:1 | Fail | Fail | Fail |
| Sample text | 11.07:1 | Pass | Pass | Pass |
| #313B58 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.07:1 | Pass | Pass | Pass |
| Sample text | 1.9: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 #313B58 looks to people with the most common types of color vision deficiency.
#313e59Protanopia
no red cones#2d3a57Deuteranopia
no green cones#244145Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #313b58; }
.text { color: #313b58; }
.border { border: 2px solid #313b58; }
.transparent { background-color: rgb(49 59 88 / 50%); }
.gradient { background: linear-gradient(to right, #313b58, #3b3158); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#273c5aNautilus#3e4364Genie#314159Pi#3a4866Bonne Nuit#3b476bStarlit Night#2c4364Black Turmeric
Closest common color name: Prussian Blue.
Questions
- What color is #313B58?
- #313B58 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 #313B58?
- The RGB value is 49, 59, 88: 49 red, 59 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #313B58?
- The complementary color is #584E31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313B58?
- White text. Black text has a contrast ratio of 1.9:1 and white text 11.07:1. WCAG asks for at least 4.5:1 for normal text.