#313353 color
The hex color #313353 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 20% green and 32.5% blue (49, 51, 83).
Its hue angle is 236°, with 26% saturation and 26% lightness. For print, the CMYK equivalent is 41% cyan, 39% magenta, 0% yellow and 67% black.
The closest named color is Midnight Escapade (#2B3458), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.15:1).
#313353 color codes
| HEX | #313353 | |
|---|---|---|
| RGB | rgb(49, 51, 83) | |
| RGB percent | rgb(19.2%, 20%, 32.5%) | |
| HSL | hsl(236, 26%, 26%) | |
| HSV / HSB | hsv(236, 41%, 33%) | |
| CMYK | cmyk(41%, 39%, 0%, 67%) | |
| CIE LAB | lab(22.46, 8.3, -19.74) | |
| CIE LCH | lch(22.46, 21.42, 292.8) | |
| CIE XYZ | xyz(4.011, 3.645, 8.674) | |
| Decimal | 3224403 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313353, 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 #313353 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.15:1 | Pass | Pass | Pass |
| #313353 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.15:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #313353 looks to people with the most common types of color vision deficiency.
#293754Protanopia
no red cones#273452Deuteranopia
no green cones#27393fTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #313353; }
.text { color: #313353; }
.border { border: 2px solid #313353; }
.transparent { background-color: rgb(49 51 83 / 50%); }
.gradient { background: linear-gradient(to right, #313353, #403153); }
Similar colors
#2b3458Midnight Escapade#2c2e47Midnight Masquerade#2e3858Mediaeval Blue#2c2c57Deep Sea Base#3d3d63Storm Is Coming#2e305eGalaxea#322c56Purple Noir#372d52Midnight Pie
Closest common color name: Oxford Blue.
Questions
- What color is #313353?
- #313353 is a dark, desaturated blue, closest to the named color Midnight Escapade. It belongs to the blue family of colors.
- What is the RGB value of #313353?
- The RGB value is 49, 51, 83: 49 red, 51 green and 83 blue on a 0 to 255 scale.
- What is the complementary color of #313353?
- The complementary color is #535131, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313353?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.15:1. WCAG asks for at least 4.5:1 for normal text.