#514D79 color
The hex color #514D79 is a grayish blue.
In the RGB color model it is made of 31.8% red, 30.2% green and 47.5% blue (81, 77, 121).
Its hue angle is 245°, with 22% saturation and 39% lightness. For print, the CMYK equivalent is 33% cyan, 36% magenta, 0% yellow and 53% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.81:1).
#514D79 color codes
| HEX | #514D79 | |
|---|---|---|
| RGB | rgb(81, 77, 121) | |
| RGB percent | rgb(31.8%, 30.2%, 47.5%) | |
| HSL | hsl(245, 22%, 39%) | |
| HSV / HSB | hsv(245, 36%, 47%) | |
| CMYK | cmyk(33%, 36%, 0%, 53%) | |
| CIE LAB | lab(34.88, 12.72, -24.46) | |
| CIE LCH | lch(34.88, 27.57, 297.48) | |
| CIE XYZ | xyz(9.497, 8.437, 19.214) | |
| Decimal | 5328249 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514D79, 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 #514D79 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.69:1 | Fail | Fail | Fail |
| Sample text | 7.81:1 | Pass | Pass | Pass |
| #514D79 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.81:1 | Pass | Pass | Pass |
| Sample text | 2.69: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 #514D79 looks to people with the most common types of color vision deficiency.
#40537bProtanopia
no red cones#405178Deuteranopia
no green cones#47555dTritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #514d79; }
.text { color: #514d79; }
.border { border: 2px solid #514d79; }
.transparent { background-color: rgb(81 77 121 / 50%); }
.gradient { background: linear-gradient(to right, #514d79, #674d79); }
Similar colors
#50507fTangent Periwinkle#5c5083Freshly Purpleized#4e5481Dusk#4e518bTwilight#604c81Sumptuous Purple#4c567aDeep Indigo#5c457bIn the Vines#614a7bRoyal Robe
Closest common color name: Dark Slate Blue.
Questions
- What color is #514D79?
- #514D79 is a grayish blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #514D79?
- The RGB value is 81, 77, 121: 81 red, 77 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #514D79?
- The complementary color is #75794D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514D79?
- White text. Black text has a contrast ratio of 2.69:1 and white text 7.81:1. WCAG asks for at least 4.5:1 for normal text.