#5E5766 color
The hex color #5E5766 is a gray.
In the RGB color model it is made of 36.9% red, 34.1% green and 40% blue (94, 87, 102).
Its hue angle is 268°, with 8% saturation and 37% lightness. For print, the CMYK equivalent is 8% cyan, 15% magenta, 0% yellow and 60% black.
The closest named color is Fedora (#625665), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.93:1).
#5E5766 color codes
| HEX | #5E5766 | |
|---|---|---|
| RGB | rgb(94, 87, 102) | |
| RGB percent | rgb(36.9%, 34.1%, 40%) | |
| HSL | hsl(268, 8%, 37%) | |
| HSV / HSB | hsv(268, 15%, 40%) | |
| CMYK | cmyk(8%, 15%, 0%, 60%) | |
| CIE LAB | lab(38.12, 6.04, -7.58) | |
| CIE LCH | lch(38.12, 9.7, 308.55) | |
| CIE XYZ | xyz(10.422, 10.155, 13.979) | |
| Decimal | 6182758 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E5766, 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 #5E5766 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.03:1 | Fail | Fail | Pass |
| Sample text | 6.93:1 | Pass | Fail | Pass |
| #5E5766 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.93:1 | Pass | Fail | Pass |
| Sample text | 3.03: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 #5E5766 looks to people with the most common types of color vision deficiency.
#555967Protanopia
no red cones#565a66Deuteranopia
no green cones#5d595cTritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #5e5766; }
.text { color: #5e5766; }
.border { border: 2px solid #5e5766; }
.transparent { background-color: rgb(94 87 102 / 50%); }
.gradient { background: linear-gradient(to right, #5e5766, #665766); }
Similar colors
#625665Fedora#605d6bSmoky#565266Freefall#525463Black Orchid#635d63Wonder Wine#5f606eVenus Mist#545663Blackwater#676168Excalibur
Closest common color name: Dim Gray.
Questions
- What color is #5E5766?
- #5E5766 is a gray, closest to the named color Fedora. It belongs to the gray family of colors.
- What is the RGB value of #5E5766?
- The RGB value is 94, 87, 102: 94 red, 87 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #5E5766?
- The complementary color is #5F6657, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E5766?
- White text. Black text has a contrast ratio of 3.03:1 and white text 6.93:1. WCAG asks for at least 4.5:1 for normal text.