#515F7F color

#515F7F rgb(81, 95, 127)
Shades of blue

The hex color #515F7F is a grayish blue.

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

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

The closest named color is Wizard (#4D5B88), a difference of 3.5 ΔE, a small difference.

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

#515F7F color codes

HEX#515F7F
RGBrgb(81, 95, 127)
RGB percentrgb(31.8%, 37.3%, 49.8%)
HSLhsl(222, 22%, 41%)
HSV / HSBhsv(222, 36%, 50%)
CMYKcmyk(36%, 25%, 0%, 50%)
CIE LABlab(40.35, 3.06, -19.65)
CIE LCHlch(40.35, 19.88, 278.86)
CIE XYZxyz(11.315, 11.466, 21.691)
Decimal5332863
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

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