#505A75 color
The hex color #505A75 is a grayish blue.
In the RGB color model it is made of 31.4% red, 35.3% green and 45.9% blue (80, 90, 117).
Its hue angle is 224°, with 19% saturation and 39% lightness. For print, the CMYK equivalent is 32% cyan, 23% magenta, 0% yellow and 54% black.
The closest named color is Heavy Violet (#4F566C), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.86:1).
#505A75 color codes
| HEX | #505A75 | |
|---|---|---|
| RGB | rgb(80, 90, 117) | |
| RGB percent | rgb(31.4%, 35.3%, 45.9%) | |
| HSL | hsl(224, 19%, 39%) | |
| HSV / HSB | hsv(224, 32%, 46%) | |
| CMYK | cmyk(32%, 23%, 0%, 54%) | |
| CIE LAB | lab(38.38, 3.02, -16.57) | |
| CIE LCH | lch(38.38, 16.84, 280.31) | |
| CIE XYZ | xyz(10.174, 10.302, 18.279) | |
| Decimal | 5266037 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505A75, 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 #505A75 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.06:1 | Fail | Fail | Pass |
| Sample text | 6.86:1 | Pass | Fail | Pass |
| #505A75 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.86:1 | Pass | Fail | Pass |
| Sample text | 3.06: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 #505A75 looks to people with the most common types of color vision deficiency.
#525c76Protanopia
no red cones#4e5974Deuteranopia
no green cones#465f63Tritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #505a75; }
.text { color: #505a75; }
.border { border: 2px solid #505a75; }
.transparent { background-color: rgb(80 90 117 / 50%); }
.gradient { background: linear-gradient(to right, #505a75, #585075); }
Similar colors
#4f566cHeavy Violet#4c567aDeep Indigo#4d516cIntergalactic#555570Majestic Magic#445780Sailor#44556bInkjet#4d5b88Wizard#50647fAdmiral Blue
Closest common color name: Charcoal.
Questions
- What color is #505A75?
- #505A75 is a grayish blue, closest to the named color Heavy Violet. It belongs to the blue family of colors.
- What is the RGB value of #505A75?
- The RGB value is 80, 90, 117: 80 red, 90 green and 117 blue on a 0 to 255 scale.
- What is the complementary color of #505A75?
- The complementary color is #756B50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505A75?
- White text. Black text has a contrast ratio of 3.06:1 and white text 6.86:1. WCAG asks for at least 4.5:1 for normal text.