#505879 color
The hex color #505879 is a grayish blue.
In the RGB color model it is made of 31.4% red, 34.5% green and 47.5% blue (80, 88, 121).
Its hue angle is 228°, with 20% saturation and 39% lightness. For print, the CMYK equivalent is 34% cyan, 27% magenta, 0% yellow and 53% black.
The closest named color is Deep Indigo (#4C567A), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.97:1).
#505879 color codes
| HEX | #505879 | |
|---|---|---|
| RGB | rgb(80, 88, 121) | |
| RGB percent | rgb(31.4%, 34.5%, 47.5%) | |
| HSL | hsl(228, 20%, 39%) | |
| HSV / HSB | hsv(228, 34%, 47%) | |
| CMYK | cmyk(34%, 27%, 0%, 53%) | |
| CIE LAB | lab(37.96, 5.4, -19.68) | |
| CIE LCH | lch(37.96, 20.41, 285.34) | |
| CIE XYZ | xyz(10.248, 10.065, 19.488) | |
| Decimal | 5265529 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505879, 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 #505879 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.01:1 | Fail | Fail | Pass |
| Sample text | 6.97:1 | Pass | Fail | Pass |
| #505879 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.97:1 | Pass | Fail | Pass |
| Sample text | 3.01: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 #505879 looks to people with the most common types of color vision deficiency.
#4e5b7aProtanopia
no red cones#4b5878Deuteranopia
no green cones#455e63Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #505879; }
.text { color: #505879; }
.border { border: 2px solid #505879; }
.transparent { background-color: rgb(80 88 121 / 50%); }
.gradient { background: linear-gradient(to right, #505879, #5c5079); }
Similar colors
#4c567aDeep Indigo#4d516cIntergalactic#4e5481Dusk#555570Majestic Magic#4d5b88Wizard#4f566cHeavy Violet#445780Sailor#50507fTangent Periwinkle
Closest common color name: Dark Slate Blue.
Questions
- What color is #505879?
- #505879 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 #505879?
- The RGB value is 80, 88, 121: 80 red, 88 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #505879?
- The complementary color is #797150, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505879?
- White text. Black text has a contrast ratio of 3.01:1 and white text 6.97:1. WCAG asks for at least 4.5:1 for normal text.