#515878 color
The hex color #515878 is a grayish blue.
In the RGB color model it is made of 31.8% red, 34.5% green and 47.1% blue (81, 88, 120).
Its hue angle is 229°, with 19% saturation and 39% lightness. For print, the CMYK equivalent is 33% cyan, 27% magenta, 0% yellow and 53% black.
The closest named color is Deep Indigo (#4C567A), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.96:1).
#515878 color codes
| HEX | #515878 | |
|---|---|---|
| RGB | rgb(81, 88, 120) | |
| RGB percent | rgb(31.8%, 34.5%, 47.1%) | |
| HSL | hsl(229, 19%, 39%) | |
| HSV / HSB | hsv(229, 33%, 47%) | |
| CMYK | cmyk(33%, 27%, 0%, 53%) | |
| CIE LAB | lab(37.99, 5.43, -19) | |
| CIE LCH | lch(37.99, 19.77, 285.96) | |
| CIE XYZ | xyz(10.272, 10.085, 19.171) | |
| Decimal | 5331064 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515878, 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 #515878 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.02:1 | Fail | Fail | Pass |
| Sample text | 6.96:1 | Pass | Fail | Pass |
| #515878 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.96:1 | Pass | Fail | Pass |
| Sample text | 3.02:1 | Fail | Fail | Pass |
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 #515878 looks to people with the most common types of color vision deficiency.
#4e5b79Protanopia
no red cones#4c5877Deuteranopia
no green cones#475e63Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #515878; }
.text { color: #515878; }
.border { border: 2px solid #515878; }
.transparent { background-color: rgb(81 88 120 / 50%); }
.gradient { background: linear-gradient(to right, #515878, #5e5178); }
Similar colors
#4c567aDeep Indigo#4d516cIntergalactic#555570Majestic Magic#4e5481Dusk#4f566cHeavy Violet#4d5b88Wizard#445780Sailor#50507fTangent Periwinkle
Closest common color name: Charcoal.
Questions
- What color is #515878?
- #515878 is a grayish blue, closest to the named color Deep Indigo. It belongs to the blue family of colors.
- What is the RGB value of #515878?
- The RGB value is 81, 88, 120: 81 red, 88 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #515878?
- The complementary color is #787151, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515878?
- White text. Black text has a contrast ratio of 3.02:1 and white text 6.96:1. WCAG asks for at least 4.5:1 for normal text.