#505F7F color

#505F7F rgb(80, 95, 127)
Shades of blue

The hex color #505F7F is a grayish blue.

In the RGB color model it is made of 31.4% red, 37.3% green and 49.8% blue (80, 95, 127).

Its hue angle is 221°, with 23% saturation and 41% lightness. For print, the CMYK equivalent is 37% cyan, 25% magenta, 0% yellow and 50% black.

The closest named color is Admiral Blue (#50647F), a difference of 3.5 ΔE, a small difference.

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

#505F7F color codes

HEX#505F7F
RGBrgb(80, 95, 127)
RGB percentrgb(31.4%, 37.3%, 49.8%)
HSLhsl(221, 23%, 41%)
HSV / HSBhsv(221, 37%, 50%)
CMYKcmyk(37%, 25%, 0%, 50%)
CIE LABlab(40.28, 2.76, -19.76)
CIE LCHlch(40.28, 19.95, 277.94)
CIE XYZxyz(11.23, 11.422, 21.687)
Decimal5267327
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #505F7F, 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 #505F7FRatioAAAAAAA large
Sample text3.28:1FailFailPass
Sample text6.39:1PassFailPass
#505F7F as text onRatioAAAAAAA large
Sample text6.39:1PassFailPass
Sample text3.28:1FailFailPass

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 #505F7F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #505f7f; }
.text { color: #505f7f; }
.border { border: 2px solid #505f7f; }
.transparent { background-color: rgb(80 95 127 / 50%); }
.gradient { background: linear-gradient(to right, #505f7f, #59507f); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #505F7F?
#505F7F is a grayish blue, closest to the named color Admiral Blue. It belongs to the blue family of colors.
What is the RGB value of #505F7F?
The RGB value is 80, 95, 127: 80 red, 95 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #505F7F?
The complementary color is #7F7050, found by rotating the hue 180° on the color wheel.
Is black or white text better on #505F7F?
White text. Black text has a contrast ratio of 3.28:1 and white text 6.39:1. WCAG asks for at least 4.5:1 for normal text.