#505A5C color

#505A5C rgb(80, 90, 92)
Shades of gray

The hex color #505A5C is a gray.

In the RGB color model it is made of 31.4% red, 35.3% green and 36.1% blue (80, 90, 92).

Its hue angle is 190°, with 7% saturation and 34% lightness. For print, the CMYK equivalent is 13% cyan, 2% magenta, 0% yellow and 64% black.

The closest named color is Yacht Club (#566062), a difference of 2.2 ΔE, a small difference.

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

#505A5C color codes

HEX#505A5C
RGBrgb(80, 90, 92)
RGB percentrgb(31.4%, 35.3%, 36.1%)
HSLhsl(190, 7%, 34%)
HSV / HSBhsv(190, 13%, 36%)
CMYKcmyk(13%, 2%, 0%, 64%)
CIE LABlab(37.46, -3.43, -2.48)
CIE LCHlch(37.46, 4.24, 215.86)
CIE XYZxyz(8.896, 9.79, 11.544)
Decimal5266012
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #505a5c; }
.text { color: #505a5c; }
.border { border: 2px solid #505a5c; }
.transparent { background-color: rgb(80 90 92 / 50%); }
.gradient { background: linear-gradient(to right, #505a5c, #50545c); }
Background
Text color
Border

Similar colors

Closest common color name: Dim Gray.

Questions

What color is #505A5C?
#505A5C is a gray, closest to the named color Yacht Club. It belongs to the gray family of colors.
What is the RGB value of #505A5C?
The RGB value is 80, 90, 92: 80 red, 90 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #505A5C?
The complementary color is #5C5250, found by rotating the hue 180° on the color wheel.
Is black or white text better on #505A5C?
White text. Black text has a contrast ratio of 2.96:1 and white text 7.1:1. WCAG asks for at least 4.5:1 for normal text.