#505B76 color

#505B76 rgb(80, 91, 118)
Shades of blue

The hex color #505B76 is a grayish blue.

In the RGB color model it is made of 31.4% red, 35.7% green and 46.3% blue (80, 91, 118).

Its hue angle is 223°, with 19% saturation and 39% lightness. For print, the CMYK equivalent is 32% cyan, 23% magenta, 0% yellow and 54% black.

The closest named color is Heavy Violet (#4F566C), a difference of 2.6 ΔE, a small difference.

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

#505B76 color codes

HEX#505B76
RGBrgb(80, 91, 118)
RGB percentrgb(31.4%, 35.7%, 46.3%)
HSLhsl(223, 19%, 39%)
HSV / HSBhsv(223, 32%, 46%)
CMYKcmyk(32%, 23%, 0%, 54%)
CIE LABlab(38.72, 2.67, -16.67)
CIE LCHlch(38.72, 16.88, 279.11)
CIE XYZxyz(10.318, 10.495, 18.618)
Decimal5266294
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #505B76, 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 #505B76RatioAAAAAAA large
Sample text3.1:1FailFailPass
Sample text6.78:1PassFailPass
#505B76 as text onRatioAAAAAAA large
Sample text6.78:1PassFailPass
Sample text3.1: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 #505B76 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #505b76; }
.text { color: #505b76; }
.border { border: 2px solid #505b76; }
.transparent { background-color: rgb(80 91 118 / 50%); }
.gradient { background: linear-gradient(to right, #505b76, #585076); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #505B76?
#505B76 is a grayish blue, closest to the named color Heavy Violet. It belongs to the blue family of colors.
What is the RGB value of #505B76?
The RGB value is 80, 91, 118: 80 red, 91 green and 118 blue on a 0 to 255 scale.
What is the complementary color of #505B76?
The complementary color is #766B50, found by rotating the hue 180° on the color wheel.
Is black or white text better on #505B76?
White text. Black text has a contrast ratio of 3.1:1 and white text 6.78:1. WCAG asks for at least 4.5:1 for normal text.