#515878 color

#515878 rgb(81, 88, 120)
Shades of blue

The hex color #515878 is a grayish blue.

In the RGB color model it is made of 31.8% red, 34.5% green and 47.1% blue (81, 88, 120).

Its hue angle is 229°, with 19% saturation and 39% lightness. For print, the CMYK equivalent is 33% cyan, 27% magenta, 0% yellow and 53% black.

The closest named color is Deep Indigo (#4C567A), a difference of 1.7 ΔE, which is barely visible.

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

#515878 color codes

HEX#515878
RGBrgb(81, 88, 120)
RGB percentrgb(31.8%, 34.5%, 47.1%)
HSLhsl(229, 19%, 39%)
HSV / HSBhsv(229, 33%, 47%)
CMYKcmyk(33%, 27%, 0%, 53%)
CIE LABlab(37.99, 5.43, -19)
CIE LCHlch(37.99, 19.77, 285.96)
CIE XYZxyz(10.272, 10.085, 19.171)
Decimal5331064
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #515878; }
.text { color: #515878; }
.border { border: 2px solid #515878; }
.transparent { background-color: rgb(81 88 120 / 50%); }
.gradient { background: linear-gradient(to right, #515878, #5e5178); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #515878?
#515878 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 #515878?
The RGB value is 81, 88, 120: 81 red, 88 green and 120 blue on a 0 to 255 scale.
What is the complementary color of #515878?
The complementary color is #787151, found by rotating the hue 180° on the color wheel.
Is black or white text better on #515878?
White text. Black text has a contrast ratio of 3.02:1 and white text 6.96:1. WCAG asks for at least 4.5:1 for normal text.