#504786 color

#504786 rgb(80, 71, 134)
Shades of blue

The hex color #504786 is a desaturated blue.

In the RGB color model it is made of 31.4% red, 27.8% green and 52.5% blue (80, 71, 134).

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

The closest named color is Twilight (#4E518B), a difference of 3.9 ΔE, a small difference.

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

#504786 color codes

HEX#504786
RGBrgb(80, 71, 134)
RGB percentrgb(31.4%, 27.8%, 52.5%)
HSLhsl(249, 31%, 40%)
HSV / HSBhsv(249, 47%, 53%)
CMYKcmyk(40%, 47%, 0%, 47%)
CIE LABlab(33.84, 20.12, -34.14)
CIE LCHlch(33.84, 39.63, 300.52)
CIE XYZxyz(9.863, 7.933, 23.561)
Decimal5261190
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #504786; }
.text { color: #504786; }
.border { border: 2px solid #504786; }
.transparent { background-color: rgb(80 71 134 / 50%); }
.gradient { background: linear-gradient(to right, #504786, #6f4786); }
Background
Text color
Border

Similar colors

Questions

What color is #504786?
#504786 is a desaturated blue, closest to the named color Twilight. It belongs to the blue family of colors.
What is the RGB value of #504786?
The RGB value is 80, 71, 134: 80 red, 71 green and 134 blue on a 0 to 255 scale.
What is the complementary color of #504786?
The complementary color is #7D8647, found by rotating the hue 180° on the color wheel.
Is black or white text better on #504786?
White text. Black text has a contrast ratio of 2.59:1 and white text 8.12:1. WCAG asks for at least 4.5:1 for normal text.