#504B7C color

#504B7C rgb(80, 75, 124)
Shades of blue

The hex color #504B7C is a grayish blue.

In the RGB color model it is made of 31.4% red, 29.4% green and 48.6% blue (80, 75, 124).

Its hue angle is 246°, with 25% saturation and 39% lightness. For print, the CMYK equivalent is 35% cyan, 40% magenta, 0% yellow and 51% black.

The closest named color is Tangent Periwinkle (#50507F), a difference of 2 ΔE, which is barely visible.

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

#504B7C color codes

HEX#504B7C
RGBrgb(80, 75, 124)
RGB percentrgb(31.4%, 29.4%, 48.6%)
HSLhsl(246, 25%, 39%)
HSV / HSBhsv(246, 40%, 49%)
CMYKcmyk(35%, 40%, 0%, 51%)
CIE LABlab(34.38, 14.57, -27.11)
CIE LCHlch(34.38, 30.77, 298.26)
CIE XYZxyz(9.461, 8.193, 20.148)
Decimal5262204
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #504B7C, 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 #504B7CRatioAAAAAAA large
Sample text2.64:1FailFailFail
Sample text7.96:1PassPassPass
#504B7C as text onRatioAAAAAAA large
Sample text7.96:1PassPassPass
Sample text2.64: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 #504B7C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #504b7c; }
.text { color: #504b7c; }
.border { border: 2px solid #504b7c; }
.transparent { background-color: rgb(80 75 124 / 50%); }
.gradient { background: linear-gradient(to right, #504b7c, #694b7c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

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