#50517F color
The hex color #50517F is a grayish blue.
In the RGB color model it is made of 31.4% red, 31.8% green and 49.8% blue (80, 81, 127).
Its hue angle is 239°, with 23% saturation and 41% lightness. For print, the CMYK equivalent is 37% cyan, 36% magenta, 0% yellow and 50% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 0.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.43:1).
#50517F color codes
| HEX | #50517F | |
|---|---|---|
| RGB | rgb(80, 81, 127) | |
| RGB percent | rgb(31.4%, 31.8%, 49.8%) | |
| HSL | hsl(239, 23%, 41%) | |
| HSV / HSB | hsv(239, 37%, 50%) | |
| CMYK | cmyk(37%, 36%, 0%, 50%) | |
| CIE LAB | lab(36.22, 11.59, -26.08) | |
| CIE LCH | lch(36.22, 28.54, 293.97) | |
| CIE XYZ | xyz(10.08, 9.122, 21.304) | |
| Decimal | 5263743 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #50517F, 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 #50517F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.43:1 | Pass | Pass | Pass |
| #50517F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.43:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #50517F looks to people with the most common types of color vision deficiency.
#435781Protanopia
no red cones#40547eDeuteranopia
no green cones#435a62Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #50517f; }
.text { color: #50517f; }
.border { border: 2px solid #50517f; }
.transparent { background-color: rgb(80 81 127 / 50%); }
.gradient { background: linear-gradient(to right, #50517f, #66507f); }
Similar colors
#50507fTangent Periwinkle#4e5481Dusk#4e518bTwilight#51588ePiccadilly Purple#5c5083Freshly Purpleized#4c567aDeep Indigo#4d5b88Wizard#445780Sailor
Closest common color name: Dark Slate Blue.
Questions
- What color is #50517F?
- #50517F is a grayish blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #50517F?
- The RGB value is 80, 81, 127: 80 red, 81 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #50517F?
- The complementary color is #7F7E50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #50517F?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.43:1. WCAG asks for at least 4.5:1 for normal text.