#505082 color
The hex color #505082 is a grayish blue.
In the RGB color model it is made of 31.4% red, 31.4% green and 51% blue (80, 80, 130).
Its hue angle is 240°, with 24% saturation and 41% lightness. For print, the CMYK equivalent is 38% cyan, 38% magenta, 0% yellow and 49% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.47:1).
#505082 color codes
| HEX | #505082 | |
|---|---|---|
| RGB | rgb(80, 80, 130) | |
| RGB percent | rgb(31.4%, 31.4%, 51%) | |
| HSL | hsl(240, 24%, 41%) | |
| HSV / HSB | hsv(240, 38%, 51%) | |
| CMYK | cmyk(38%, 38%, 0%, 49%) | |
| CIE LAB | lab(36.09, 13.13, -28.13) | |
| CIE LCH | lch(36.09, 31.04, 295.02) | |
| CIE XYZ | xyz(10.205, 9.054, 22.325) | |
| Decimal | 5263490 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505082, 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 #505082 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.81:1 | Fail | Fail | Fail |
| Sample text | 7.47:1 | Pass | Pass | Pass |
| #505082 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.47:1 | Pass | Pass | Pass |
| Sample text | 2.81: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 #505082 looks to people with the most common types of color vision deficiency.
#405784Protanopia
no red cones#3e5381Deuteranopia
no green cones#425a63Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #505082; }
.text { color: #505082; }
.border { border: 2px solid #505082; }
.transparent { background-color: rgb(80 80 130 / 50%); }
.gradient { background: linear-gradient(to right, #505082, #695082); }
Similar colors
#50507fTangent Periwinkle#4e5481Dusk#4e518bTwilight#5c5083Freshly Purpleized#51588ePiccadilly Purple#4c567aDeep Indigo#4d5b88Wizard#3d4585Queen of the Night Shift
Closest common color name: Dark Slate Blue.
Questions
- What color is #505082?
- #505082 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 #505082?
- The RGB value is 80, 80, 130: 80 red, 80 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of #505082?
- The complementary color is #828250, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505082?
- White text. Black text has a contrast ratio of 2.81:1 and white text 7.47:1. WCAG asks for at least 4.5:1 for normal text.