#505A83 color
The hex color #505A83 is a grayish blue.
In the RGB color model it is made of 31.4% red, 35.3% green and 51.4% blue (80, 90, 131).
Its hue angle is 228°, with 24% saturation and 41% lightness. For print, the CMYK equivalent is 39% cyan, 31% magenta, 0% yellow and 49% black.
The closest named color is Wizard (#4D5B88), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.71:1).
#505A83 color codes
| HEX | #505A83 | |
|---|---|---|
| RGB | rgb(80, 90, 131) | |
| RGB percent | rgb(31.4%, 35.3%, 51.4%) | |
| HSL | hsl(228, 24%, 41%) | |
| HSV / HSB | hsv(228, 39%, 51%) | |
| CMYK | cmyk(39%, 31%, 0%, 49%) | |
| CIE LAB | lab(38.99, 7.06, -24.19) | |
| CIE LCH | lch(38.99, 25.2, 286.26) | |
| CIE XYZ | xyz(11.06, 10.656, 22.942) | |
| Decimal | 5266051 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505A83, 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 #505A83 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.13:1 | Fail | Fail | Pass |
| Sample text | 6.71:1 | Pass | Fail | Pass |
| #505A83 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.71:1 | Pass | Fail | Pass |
| Sample text | 3.13: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 #505A83 looks to people with the most common types of color vision deficiency.
#4d5e85Protanopia
no red cones#495a82Deuteranopia
no green cones#416269Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #505a83; }
.text { color: #505a83; }
.border { border: 2px solid #505a83; }
.transparent { background-color: rgb(80 90 131 / 50%); }
.gradient { background: linear-gradient(to right, #505a83, #5f5083); }
Similar colors
#4d5b88Wizard#4c567aDeep Indigo#4e5481Dusk#51588ePiccadilly Purple#445780Sailor#50507fTangent Periwinkle#4e518bTwilight#5d6098Wizard’s Potion
Closest common color name: Dark Slate Blue.
Questions
- What color is #505A83?
- #505A83 is a grayish blue, closest to the named color Wizard. It belongs to the blue family of colors.
- What is the RGB value of #505A83?
- The RGB value is 80, 90, 131: 80 red, 90 green and 131 blue on a 0 to 255 scale.
- What is the complementary color of #505A83?
- The complementary color is #837950, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505A83?
- White text. Black text has a contrast ratio of 3.13:1 and white text 6.71:1. WCAG asks for at least 4.5:1 for normal text.