#313056 color
The hex color #313056 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 18.8% green and 33.7% blue (49, 48, 86).
Its hue angle is 242°, with 28% saturation and 26% lightness. For print, the CMYK equivalent is 43% cyan, 44% magenta, 0% yellow and 66% black.
The closest named color is Deep Sea Base (#2C2C57), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.44:1).
#313056 color codes
| HEX | #313056 | |
|---|---|---|
| RGB | rgb(49, 48, 86) | |
| RGB percent | rgb(19.2%, 18.8%, 33.7%) | |
| HSL | hsl(242, 28%, 26%) | |
| HSV / HSB | hsv(242, 44%, 34%) | |
| CMYK | cmyk(43%, 44%, 0%, 66%) | |
| CIE LAB | lab(21.72, 11.37, -22.9) | |
| CIE LCH | lch(21.72, 25.57, 296.4) | |
| CIE XYZ | xyz(4.003, 3.439, 9.255) | |
| Decimal | 3223638 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313056, 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 #313056 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.44:1 | Pass | Pass | Pass |
| #313056 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.44:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #313056 looks to people with the most common types of color vision deficiency.
#233557Protanopia
no red cones#213355Deuteranopia
no green cones#26373eTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #313056; }
.text { color: #313056; }
.border { border: 2px solid #313056; }
.transparent { background-color: rgb(49 48 86 / 50%); }
.gradient { background: linear-gradient(to right, #313056, #443056); }
Similar colors
#2c2c57Deep Sea Base#322c56Purple Noir#2e305eGalaxea#372d52Midnight Pie#2b3458Midnight Escapade#2a2551Pāua#3d3d63Storm Is Coming#1d2951Space Cadet
Closest common color name: Oxford Blue.
Questions
- What color is #313056?
- #313056 is a dark, desaturated blue, closest to the named color Deep Sea Base. It belongs to the blue family of colors.
- What is the RGB value of #313056?
- The RGB value is 49, 48, 86: 49 red, 48 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #313056?
- The complementary color is #555630, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313056?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.44:1. WCAG asks for at least 4.5:1 for normal text.