#313E52 color
The hex color #313E52 is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 24.3% green and 32.2% blue (49, 62, 82).
Its hue angle is 216°, with 25% saturation and 26% lightness. For print, the CMYK equivalent is 40% cyan, 24% magenta, 0% yellow and 68% black.
The closest named color is Dark & Stormy (#353F51), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.82:1).
#313E52 color codes
| HEX | #313E52 | |
|---|---|---|
| RGB | rgb(49, 62, 82) | |
| RGB percent | rgb(19.2%, 24.3%, 32.2%) | |
| HSL | hsl(216, 25%, 26%) | |
| HSV / HSB | hsv(216, 40%, 32%) | |
| CMYK | cmyk(40%, 24%, 0%, 68%) | |
| CIE LAB | lab(25.88, 0.51, -13.77) | |
| CIE LCH | lch(25.88, 13.78, 272.1) | |
| CIE XYZ | xyz(4.512, 4.707, 8.652) | |
| Decimal | 3227218 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313E52, 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 #313E52 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.94:1 | Fail | Fail | Fail |
| Sample text | 10.82:1 | Pass | Pass | Pass |
| #313E52 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.82:1 | Pass | Pass | Pass |
| Sample text | 1.94: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 #313E52 looks to people with the most common types of color vision deficiency.
#373f53Protanopia
no red cones#333c52Deuteranopia
no green cones#264245Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #313e52; }
.text { color: #313e52; }
.border { border: 2px solid #313e52; }
.transparent { background-color: rgb(49 62 82 / 50%); }
.gradient { background: linear-gradient(to right, #313e52, #353152); }
Similar colors
#353f51Dark & Stormy#314159Pi#3c4151Lava Stone#273c5aNautilus#393f4bInkblot#314662Stay the Night#3a4a63Silent Sea#303543Total Eclipse
Closest common color name: Charcoal.
Questions
- What color is #313E52?
- #313E52 is a dark, desaturated azure, closest to the named color Dark & Stormy. It belongs to the blue family of colors.
- What is the RGB value of #313E52?
- The RGB value is 49, 62, 82: 49 red, 62 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #313E52?
- The complementary color is #524531, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313E52?
- White text. Black text has a contrast ratio of 1.94:1 and white text 10.82:1. WCAG asks for at least 4.5:1 for normal text.