#514E5B color
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 | |
|---|---|---|
| RGB | rgb(81, 78, 91) | |
| RGB percent | rgb(31.8%, 30.6%, 35.7%) | |
| HSL | hsl(254, 8%, 33%) | |
| HSV / HSB | hsv(254, 14%, 36%) | |
| CMYK | cmyk(11%, 14%, 0%, 64%) | |
| CIE LAB | lab(33.89, 4.15, -7.16) | |
| CIE LCH | lch(33.89, 8.28, 300.09) | |
| CIE XYZ | xyz(8.006, 7.953, 11.009) | |
| Decimal | 5328475 | |
| Short hex | None (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 #514E5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.11:1 | Pass | Pass | Pass |
| #514E5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.11:1 | Pass | Pass | Pass |
| Sample text | 2.59:1 | Fail | Fail | Fail |
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.
#4b505cProtanopia
no red cones#4c505bDeuteranopia
no green cones#4f5052Tritanopia
no blue cones#505050Achromatopsia
no color vision
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); }
Similar colors
#484753Gun Powder#525463Black Orchid#565266Freefall#545663Blackwater#4f4554Black Magic#494c55Deep Night#525054Magnet#41434eMidnight Serenade
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.