#313390 color
The hex color #313390 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 20% green and 56.5% blue (49, 51, 144).
Its hue angle is 239°, with 49% saturation and 38% lightness. For print, the CMYK equivalent is 66% cyan, 65% magenta, 0% yellow and 44% black.
This exact color is also called Perfect Dark.
White text is the more readable choice on this background (contrast 10.46:1).
#313390 color codes
| HEX | #313390 | |
|---|---|---|
| RGB | rgb(49, 51, 144) | |
| RGB percent | rgb(19.2%, 20%, 56.5%) | |
| HSL | hsl(239, 49%, 38%) | |
| HSV / HSB | hsv(239, 66%, 56%) | |
| CMYK | cmyk(66%, 65%, 0%, 44%) | |
| CIE LAB | lab(26.83, 29.68, -51.74) | |
| CIE LCH | lch(26.83, 59.65, 299.84) | |
| CIE XYZ | xyz(7.483, 5.034, 26.957) | |
| Decimal | 3224464 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313390, 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 #313390 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.46:1 | Pass | Pass | Pass |
| #313390 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.46:1 | Pass | Pass | Pass |
| Sample text | 2.01: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 #313390 looks to people with the most common types of color vision deficiency.
#004493Protanopia
no red cones#003b8eDeuteranopia
no green cones#004b5cTritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #313390; }
.text { color: #313390; }
.border { border: 2px solid #313390; }
.transparent { background-color: rgb(49 51 144 / 50%); }
.gradient { background: linear-gradient(to right, #313390, #5e3190); }
Similar colors
#2b3191Royal Night#333399Bluebell#2d3796Liquid Denim#2c319bDepths of Night#273287Intergalactic Highway#223382Deep Space Royal#443388Majestic Eggplant#003399Smalt
Closest common color name: Egyptian Blue.
Questions
- What color is #313390?
- #313390 is a dark, desaturated blue known as Perfect Dark. It belongs to the blue family of colors.
- What is the RGB value of #313390?
- The RGB value is 49, 51, 144: 49 red, 51 green and 144 blue on a 0 to 255 scale.
- What is the complementary color of #313390?
- The complementary color is #908E31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313390?
- White text. Black text has a contrast ratio of 2.01:1 and white text 10.46:1. WCAG asks for at least 4.5:1 for normal text.