#504A7A color

#504A7A rgb(80, 74, 122)
Shades of blue

The hex color #504A7A is a grayish blue.

In the RGB color model it is made of 31.4% red, 29% green and 47.8% blue (80, 74, 122).

Its hue angle is 248°, with 24% saturation and 38% lightness. For print, the CMYK equivalent is 34% cyan, 39% magenta, 0% yellow and 52% black.

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

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

#504A7A color codes

HEX#504A7A
RGBrgb(80, 74, 122)
RGB percentrgb(31.4%, 29%, 47.8%)
HSLhsl(248, 24%, 38%)
HSV / HSBhsv(248, 39%, 48%)
CMYKcmyk(34%, 39%, 0%, 52%)
CIE LABlab(34, 14.63, -26.46)
CIE LCHlch(34, 30.24, 298.94)
CIE XYZxyz(9.269, 8.008, 19.466)
Decimal5261946
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #504A7A, 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 #504A7ARatioAAAAAAA large
Sample text2.6:1FailFailFail
Sample text8.07:1PassPassPass
#504A7A as text onRatioAAAAAAA large
Sample text8.07:1PassPassPass
Sample text2.6: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 #504A7A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #504a7a; }
.text { color: #504a7a; }
.border { border: 2px solid #504a7a; }
.transparent { background-color: rgb(80 74 122 / 50%); }
.gradient { background: linear-gradient(to right, #504a7a, #684a7a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

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