#313661 color
The hex color #313661 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 21.2% green and 38% blue (49, 54, 97).
Its hue angle is 234°, with 33% saturation and 29% lightness. For print, the CMYK equivalent is 49% cyan, 44% magenta, 0% yellow and 62% black.
The closest named color is Galaxea (#2E305E), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.47:1).
#313661 color codes
| HEX | #313661 | |
|---|---|---|
| RGB | rgb(49, 54, 97) | |
| RGB percent | rgb(19.2%, 21.2%, 38%) | |
| HSL | hsl(234, 33%, 29%) | |
| HSV / HSB | hsv(234, 49%, 38%) | |
| CMYK | cmyk(49%, 44%, 0%, 62%) | |
| CIE LAB | lab(24.17, 10.91, -26.25) | |
| CIE LCH | lch(24.17, 28.42, 292.58) | |
| CIE XYZ | xyz(4.743, 4.154, 11.859) | |
| Decimal | 3225185 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313661, 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 #313661 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.47:1 | Pass | Pass | Pass |
| #313661 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.47:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #313661 looks to people with the most common types of color vision deficiency.
#263b63Protanopia
no red cones#223860Deuteranopia
no green cones#203f46Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #313661; }
.text { color: #313661; }
.border { border: 2px solid #313661; }
.transparent { background-color: rgb(49 54 97 / 50%); }
.gradient { background: linear-gradient(to right, #313661, #443161); }
Similar colors
#2e305eGalaxea#2b3458Midnight Escapade#3d3d63Storm Is Coming#2c2c57Deep Sea Base#2e3858Mediaeval Blue#322c56Purple Noir#333c76Good Karma#1c2e63Mythical Night
Closest common color name: Dark Slate Blue.
Questions
- What color is #313661?
- #313661 is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #313661?
- The RGB value is 49, 54, 97: 49 red, 54 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #313661?
- The complementary color is #615C31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313661?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.47:1. WCAG asks for at least 4.5:1 for normal text.