#313E5C color
The hex color #313E5C is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 24.3% green and 36.1% blue (49, 62, 92).
Its hue angle is 222°, with 30% saturation and 28% lightness. For print, the CMYK equivalent is 47% cyan, 33% magenta, 0% yellow and 64% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.64:1).
#313E5C color codes
| HEX | #313E5C | |
|---|---|---|
| RGB | rgb(49, 62, 92) | |
| RGB percent | rgb(19.2%, 24.3%, 36.1%) | |
| HSL | hsl(222, 30%, 28%) | |
| HSV / HSB | hsv(222, 47%, 36%) | |
| CMYK | cmyk(47%, 33%, 0%, 64%) | |
| CIE LAB | lab(26.36, 3.75, -19.55) | |
| CIE LCH | lch(26.36, 19.91, 280.85) | |
| CIE XYZ | xyz(4.92, 4.871, 10.804) | |
| Decimal | 3227228 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313E5C, 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 #313E5C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.97:1 | Fail | Fail | Fail |
| Sample text | 10.64:1 | Pass | Pass | Pass |
| #313E5C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.64:1 | Pass | Pass | Pass |
| Sample text | 1.97: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 #313E5C looks to people with the most common types of color vision deficiency.
#33405dProtanopia
no red cones#2f3d5bDeuteranopia
no green cones#224449Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #313e5c; }
.text { color: #313e5c; }
.border { border: 2px solid #313e5c; }
.transparent { background-color: rgb(49 62 92 / 50%); }
.gradient { background: linear-gradient(to right, #313e5c, #3a315c); }
Similar colors
#2e3858Mediaeval Blue#273c5aNautilus#314159Pi#3a4866Bonne Nuit#2c4364Black Turmeric#34466cForlorn Cruise#3b476bStarlit Night#3e4364Genie
Closest common color name: Prussian Blue.
Questions
- What color is #313E5C?
- #313E5C 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 #313E5C?
- The RGB value is 49, 62, 92: 49 red, 62 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #313E5C?
- The complementary color is #5C4F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313E5C?
- White text. Black text has a contrast ratio of 1.97:1 and white text 10.64:1. WCAG asks for at least 4.5:1 for normal text.