#5F5C77 color
The hex color #5F5C77 is a grayish blue.
In the RGB color model it is made of 37.3% red, 36.1% green and 46.7% blue (95, 92, 119).
Its hue angle is 247°, with 13% saturation and 41% lightness. For print, the CMYK equivalent is 20% cyan, 23% magenta, 0% yellow and 53% black.
The closest named color is Majestic Magic (#555570), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.39:1).
#5F5C77 color codes
| HEX | #5F5C77 | |
|---|---|---|
| RGB | rgb(95, 92, 119) | |
| RGB percent | rgb(37.3%, 36.1%, 46.7%) | |
| HSL | hsl(247, 13%, 41%) | |
| HSV / HSB | hsv(247, 23%, 47%) | |
| CMYK | cmyk(20%, 23%, 0%, 53%) | |
| CIE LAB | lab(40.28, 7.39, -14.79) | |
| CIE LCH | lch(40.28, 16.53, 296.55) | |
| CIE XYZ | xyz(11.875, 11.419, 19.028) | |
| Decimal | 6249591 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5C77, 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 #5F5C77 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.28:1 | Fail | Fail | Pass |
| Sample text | 6.39:1 | Pass | Fail | Pass |
| #5F5C77 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.39:1 | Pass | Fail | Pass |
| Sample text | 3.28:1 | Fail | Fail | Pass |
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 #5F5C77 looks to people with the most common types of color vision deficiency.
#565f78Protanopia
no red cones#565e76Deuteranopia
no green cones#5a6065Tritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #5f5c77; }
.text { color: #5f5c77; }
.border { border: 2px solid #5f5c77; }
.transparent { background-color: rgb(95 92 119 / 50%); }
.gradient { background: linear-gradient(to right, #5f5c77, #6d5c77); }
Similar colors
#555570Majestic Magic#675a75Plummy#565266Freefall#6a6887Heron#4d516cIntergalactic#605d6bSmoky#655883Berry Jam#6b6c89Dark Prince
Closest common color name: Space Gray.
Questions
- What color is #5F5C77?
- #5F5C77 is a grayish blue, closest to the named color Majestic Magic. It belongs to the blue family of colors.
- What is the RGB value of #5F5C77?
- The RGB value is 95, 92, 119: 95 red, 92 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #5F5C77?
- The complementary color is #74775C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5C77?
- White text. Black text has a contrast ratio of 3.28:1 and white text 6.39:1. WCAG asks for at least 4.5:1 for normal text.