#505876 color

#505876 rgb(80, 88, 118)
Shades of blue

The hex color #505876 is a grayish blue.

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

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

The closest named color is Deep Indigo (#4C567A), a difference of 2 ΔE, a small difference.

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

#505876 color codes

HEX#505876
RGBrgb(80, 88, 118)
RGB percentrgb(31.4%, 34.5%, 46.3%)
HSLhsl(227, 19%, 39%)
HSV / HSBhsv(227, 32%, 46%)
CMYKcmyk(32%, 25%, 0%, 54%)
CIE LABlab(37.83, 4.55, -18.03)
CIE LCHlch(37.83, 18.6, 284.15)
CIE XYZxyz(10.067, 9.993, 18.534)
Decimal5265526
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #505876; }
.text { color: #505876; }
.border { border: 2px solid #505876; }
.transparent { background-color: rgb(80 88 118 / 50%); }
.gradient { background: linear-gradient(to right, #505876, #5b5076); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

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