#514E5B color

#514E5B rgb(81, 78, 91)
Shades of gray

The hex color #514E5B is a gray.

In the RGB color model it is made of 31.8% red, 30.6% green and 35.7% blue (81, 78, 91).

Its hue angle is 254°, with 8% saturation and 33% lightness. For print, the CMYK equivalent is 11% cyan, 14% magenta, 0% yellow and 64% black.

The closest named color is Gun Powder (#484753), a difference of 2.8 ΔE, a small difference.

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

#514E5B color codes

HEX#514E5B
RGBrgb(81, 78, 91)
RGB percentrgb(31.8%, 30.6%, 35.7%)
HSLhsl(254, 8%, 33%)
HSV / HSBhsv(254, 14%, 36%)
CMYKcmyk(11%, 14%, 0%, 64%)
CIE LABlab(33.89, 4.15, -7.16)
CIE LCHlch(33.89, 8.28, 300.09)
CIE XYZxyz(8.006, 7.953, 11.009)
Decimal5328475
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #514E5B, 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 #514E5BRatioAAAAAAA large
Sample text2.59:1FailFailFail
Sample text8.11:1PassPassPass
#514E5B as text onRatioAAAAAAA large
Sample text8.11:1PassPassPass
Sample text2.59: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 #514E5B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #514e5b; }
.text { color: #514e5b; }
.border { border: 2px solid #514e5b; }
.transparent { background-color: rgb(81 78 91 / 50%); }
.gradient { background: linear-gradient(to right, #514e5b, #584e5b); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #514E5B?
#514E5B is a gray, closest to the named color Gun Powder. It belongs to the gray family of colors.
What is the RGB value of #514E5B?
The RGB value is 81, 78, 91: 81 red, 78 green and 91 blue on a 0 to 255 scale.
What is the complementary color of #514E5B?
The complementary color is #585B4E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #514E5B?
White text. Black text has a contrast ratio of 2.59:1 and white text 8.11:1. WCAG asks for at least 4.5:1 for normal text.