#505E7E color
The hex color #505E7E is a grayish blue.
In the RGB color model it is made of 31.4% red, 36.9% green and 49.4% blue (80, 94, 126).
Its hue angle is 222°, with 22% saturation and 40% lightness. For print, the CMYK equivalent is 37% cyan, 25% magenta, 0% yellow and 51% black.
The closest named color is Deep Indigo (#4C567A), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.47:1).
#505E7E color codes
| HEX | #505E7E | |
|---|---|---|
| RGB | rgb(80, 94, 126) | |
| RGB percent | rgb(31.4%, 36.9%, 49.4%) | |
| HSL | hsl(222, 22%, 40%) | |
| HSV / HSB | hsv(222, 37%, 49%) | |
| CMYK | cmyk(37%, 25%, 0%, 51%) | |
| CIE LAB | lab(39.94, 3.09, -19.68) | |
| CIE LCH | lch(39.94, 19.92, 278.91) | |
| CIE XYZ | xyz(11.076, 11.217, 21.316) | |
| Decimal | 5267070 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505E7E, 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 #505E7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.24:1 | Fail | Fail | Pass |
| Sample text | 6.47:1 | Pass | Fail | Pass |
| #505E7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.47:1 | Pass | Fail | Pass |
| Sample text | 3.24: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 #505E7E looks to people with the most common types of color vision deficiency.
#53607fProtanopia
no red cones#4f5c7dDeuteranopia
no green cones#426469Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #505e7e; }
.text { color: #505e7e; }
.border { border: 2px solid #505e7e; }
.transparent { background-color: rgb(80 94 126 / 50%); }
.gradient { background: linear-gradient(to right, #505e7e, #59507e); }
Similar colors
#4c567aDeep Indigo#4d5b88Wizard#445780Sailor#50647fAdmiral Blue#4f566cHeavy Violet#4e5481Dusk#466590Sea of Galilee#44556bInkjet
Closest common color name: Charcoal.
Questions
- What color is #505E7E?
- #505E7E 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 #505E7E?
- The RGB value is 80, 94, 126: 80 red, 94 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #505E7E?
- The complementary color is #7E7050, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505E7E?
- White text. Black text has a contrast ratio of 3.24:1 and white text 6.47:1. WCAG asks for at least 4.5:1 for normal text.