#515166 color

#515166 rgb(81, 81, 102)
Shades of blue

The hex color #515166 is a dark, grayish blue.

In the RGB color model it is made of 31.8% red, 31.8% green and 40% blue (81, 81, 102).

Its hue angle is 240°, with 11% saturation and 36% lightness. For print, the CMYK equivalent is 21% cyan, 21% magenta, 0% yellow and 60% black.

The closest named color is Freefall (#565266), a difference of 2 ΔE, which is barely visible.

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

#515166 color codes

HEX#515166
RGBrgb(81, 81, 102)
RGB percentrgb(31.8%, 31.8%, 40%)
HSLhsl(240, 11%, 36%)
HSV / HSBhsv(240, 21%, 40%)
CMYKcmyk(21%, 21%, 0%, 60%)
CIE LABlab(35.19, 4.98, -12.12)
CIE LCHlch(35.19, 13.11, 292.34)
CIE XYZxyz(8.733, 8.593, 13.766)
Decimal5329254
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Charcoal.

Questions

What color is #515166?
#515166 is a dark, grayish blue, closest to the named color Freefall. It belongs to the blue family of colors.
What is the RGB value of #515166?
The RGB value is 81, 81, 102: 81 red, 81 green and 102 blue on a 0 to 255 scale.
What is the complementary color of #515166?
The complementary color is #666651, found by rotating the hue 180° on the color wheel.
Is black or white text better on #515166?
White text. Black text has a contrast ratio of 2.72:1 and white text 7.72:1. WCAG asks for at least 4.5:1 for normal text.