#505779 color
The hex color #505779 is a grayish blue.
In the RGB color model it is made of 31.4% red, 34.1% green and 47.5% blue (80, 87, 121).
Its hue angle is 230°, with 20% saturation and 39% lightness. For print, the CMYK equivalent is 34% cyan, 28% 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 7.05:1).
#505779 color codes
| HEX | #505779 | |
|---|---|---|
| RGB | rgb(80, 87, 121) | |
| RGB percent | rgb(31.4%, 34.1%, 47.5%) | |
| HSL | hsl(230, 20%, 39%) | |
| HSV / HSB | hsv(230, 34%, 47%) | |
| CMYK | cmyk(34%, 28%, 0%, 53%) | |
| CIE LAB | lab(37.67, 6.03, -20.13) | |
| CIE LCH | lch(37.67, 21.01, 286.67) | |
| CIE XYZ | xyz(10.167, 9.902, 19.461) | |
| Decimal | 5265273 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505779, 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 #505779 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.98:1 | Fail | Fail | Fail |
| Sample text | 7.05:1 | Pass | Pass | Pass |
| #505779 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.05:1 | Pass | Pass | Pass |
| Sample text | 2.98: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 #505779 looks to people with the most common types of color vision deficiency.
#4d5a7aProtanopia
no red cones#4a5778Deuteranopia
no green cones#455d63Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #505779; }
.text { color: #505779; }
.border { border: 2px solid #505779; }
.transparent { background-color: rgb(80 87 121 / 50%); }
.gradient { background: linear-gradient(to right, #505779, #5e5079); }
Similar colors
#4c567aDeep Indigo#4e5481Dusk#4d516cIntergalactic#555570Majestic Magic#4d5b88Wizard#445780Sailor#50507fTangent Periwinkle#4f566cHeavy Violet
Closest common color name: Dark Slate Blue.
Questions
- What color is #505779?
- #505779 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 #505779?
- The RGB value is 80, 87, 121: 80 red, 87 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #505779?
- The complementary color is #797250, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505779?
- White text. Black text has a contrast ratio of 2.98:1 and white text 7.05:1. WCAG asks for at least 4.5:1 for normal text.