#504979 color

#504979 rgb(80, 73, 121)
Shades of blue

The hex color #504979 is a grayish blue.

In the RGB color model it is made of 31.4% red, 28.6% green and 47.5% blue (80, 73, 121).

Its hue angle is 249°, with 25% saturation and 38% lightness. For print, the CMYK equivalent is 34% cyan, 40% magenta, 0% yellow and 53% black.

The closest named color is Tangent Periwinkle (#50507F), a difference of 2.8 ΔE, a small difference.

White text is the more readable choice on this background (contrast 8.17:1).

#504979 color codes

HEX#504979
RGBrgb(80, 73, 121)
RGB percentrgb(31.4%, 28.6%, 47.5%)
HSLhsl(249, 25%, 38%)
HSV / HSBhsv(249, 40%, 47%)
CMYKcmyk(34%, 40%, 0%, 53%)
CIE LABlab(33.67, 14.99, -26.36)
CIE LCHlch(33.67, 30.32, 299.62)
CIE XYZxyz(9.141, 7.851, 19.119)
Decimal5261689
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #504979, 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 #504979RatioAAAAAAA large
Sample text2.57:1FailFailFail
Sample text8.17:1PassPassPass
#504979 as text onRatioAAAAAAA large
Sample text8.17:1PassPassPass
Sample text2.57:1FailFailFail

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 #504979 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #504979; }
.text { color: #504979; }
.border { border: 2px solid #504979; }
.transparent { background-color: rgb(80 73 121 / 50%); }
.gradient { background: linear-gradient(to right, #504979, #684979); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #504979?
#504979 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 #504979?
The RGB value is 80, 73, 121: 80 red, 73 green and 121 blue on a 0 to 255 scale.
What is the complementary color of #504979?
The complementary color is #727949, found by rotating the hue 180° on the color wheel.
Is black or white text better on #504979?
White text. Black text has a contrast ratio of 2.57:1 and white text 8.17:1. WCAG asks for at least 4.5:1 for normal text.