#505285 color
The hex color #505285 is a grayish blue.
In the RGB color model it is made of 31.4% red, 32.2% green and 52.2% blue (80, 82, 133).
Its hue angle is 238°, with 25% saturation and 42% lightness. For print, the CMYK equivalent is 40% cyan, 38% magenta, 0% yellow and 48% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.27:1).
#505285 color codes
| HEX | #505285 | |
|---|---|---|
| RGB | rgb(80, 82, 133) | |
| RGB percent | rgb(31.4%, 32.2%, 52.2%) | |
| HSL | hsl(238, 25%, 42%) | |
| HSV / HSB | hsv(238, 40%, 52%) | |
| CMYK | cmyk(40%, 38%, 0%, 48%) | |
| CIE LAB | lab(36.81, 12.75, -28.84) | |
| CIE LCH | lch(36.81, 31.53, 293.84) | |
| CIE XYZ | xyz(10.558, 9.433, 23.45) | |
| Decimal | 5264005 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505285, 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 #505285 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.89:1 | Fail | Fail | Fail |
| Sample text | 7.27:1 | Pass | Pass | Pass |
| #505285 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.27:1 | Pass | Pass | Pass |
| Sample text | 2.89: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 #505285 looks to people with the most common types of color vision deficiency.
#415987Protanopia
no red cones#3e5584Deuteranopia
no green cones#415c65Tritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #505285; }
.text { color: #505285; }
.border { border: 2px solid #505285; }
.transparent { background-color: rgb(80 82 133 / 50%); }
.gradient { background: linear-gradient(to right, #505285, #695085); }
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 #505285?
- #505285 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 #505285?
- The RGB value is 80, 82, 133: 80 red, 82 green and 133 blue on a 0 to 255 scale.
- What is the complementary color of #505285?
- The complementary color is #858350, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505285?
- White text. Black text has a contrast ratio of 2.89:1 and white text 7.27:1. WCAG asks for at least 4.5:1 for normal text.