#505371 color

#505371 rgb(80, 83, 113)
Shades of blue

The hex color #505371 is a dark, grayish blue.

In the RGB color model it is made of 31.4% red, 32.5% green and 44.3% blue (80, 83, 113).

Its hue angle is 235°, with 17% saturation and 38% lightness. For print, the CMYK equivalent is 29% cyan, 27% magenta, 0% yellow and 56% black.

The closest named color is Intergalactic (#4D516C), a difference of 1.5 ΔE, which is barely visible.

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

#505371 color codes

HEX#505371
RGBrgb(80, 83, 113)
RGB percentrgb(31.4%, 32.5%, 44.3%)
HSLhsl(235, 17%, 38%)
HSV / HSBhsv(235, 29%, 44%)
CMYKcmyk(29%, 27%, 0%, 56%)
CIE LABlab(36.15, 6.31, -17.53)
CIE LCHlch(36.15, 18.63, 289.78)
CIE XYZxyz(9.381, 9.084, 16.879)
Decimal5264241
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #505371; }
.text { color: #505371; }
.border { border: 2px solid #505371; }
.transparent { background-color: rgb(80 83 113 / 50%); }
.gradient { background: linear-gradient(to right, #505371, #5d5071); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #505371?
#505371 is a dark, grayish blue, closest to the named color Intergalactic. It belongs to the blue family of colors.
What is the RGB value of #505371?
The RGB value is 80, 83, 113: 80 red, 83 green and 113 blue on a 0 to 255 scale.
What is the complementary color of #505371?
The complementary color is #716E50, found by rotating the hue 180° on the color wheel.
Is black or white text better on #505371?
White text. Black text has a contrast ratio of 2.82:1 and white text 7.46:1. WCAG asks for at least 4.5:1 for normal text.