#313185 color
The hex color #313185 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 19.2% green and 52.2% blue (49, 49, 133).
Its hue angle is 240°, with 46% saturation and 36% lightness. For print, the CMYK equivalent is 63% cyan, 63% magenta, 0% yellow and 48% black.
The closest named color is Intergalactic Highway (#273287), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11:1).
#313185 color codes
| HEX | #313185 | |
|---|---|---|
| RGB | rgb(49, 49, 133) | |
| RGB percent | rgb(19.2%, 19.2%, 52.2%) | |
| HSL | hsl(240, 46%, 36%) | |
| HSV / HSB | hsv(240, 63%, 52%) | |
| CMYK | cmyk(63%, 63%, 0%, 48%) | |
| CIE LAB | lab(25.39, 27.08, -47.26) | |
| CIE LCH | lch(25.39, 54.47, 299.82) | |
| CIE XYZ | xyz(6.597, 4.543, 22.715) | |
| Decimal | 3223941 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313185, 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 #313185 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.91:1 | Fail | Fail | Fail |
| Sample text | 11:1 | Pass | Pass | Pass |
| #313185 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11:1 | Pass | Pass | Pass |
| Sample text | 1.91: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 #313185 looks to people with the most common types of color vision deficiency.
#004088Protanopia
no red cones#003983Deuteranopia
no green cones#004656Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #313185; }
.text { color: #313185; }
.border { border: 2px solid #313185; }
.transparent { background-color: rgb(49 49 133 / 50%); }
.gradient { background: linear-gradient(to right, #313185, #5b3185); }
Similar colors
#273287Intergalactic Highway#313390Perfect Dark#2b3191Royal Night#223382Deep Space Royal#2d3796Liquid Denim#333399Bluebell#443388Majestic Eggplant#2c319bDepths of Night
Closest common color name: Dark Slate Blue.
Questions
- What color is #313185?
- #313185 is a dark, desaturated blue, closest to the named color Intergalactic Highway. It belongs to the blue family of colors.
- What is the RGB value of #313185?
- The RGB value is 49, 49, 133: 49 red, 49 green and 133 blue on a 0 to 255 scale.
- What is the complementary color of #313185?
- The complementary color is #858531, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313185?
- White text. Black text has a contrast ratio of 1.91:1 and white text 11:1. WCAG asks for at least 4.5:1 for normal text.