#5C5F86 color
The hex color #5C5F86 is a grayish blue.
In the RGB color model it is made of 36.1% red, 37.3% green and 52.5% blue (92, 95, 134).
Its hue angle is 236°, with 19% saturation and 44% lightness. For print, the CMYK equivalent is 31% cyan, 29% magenta, 0% yellow and 47% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.11:1).
#5C5F86 color codes
| HEX | #5C5F86 | |
|---|---|---|
| RGB | rgb(92, 95, 134) | |
| RGB percent | rgb(36.1%, 37.3%, 52.5%) | |
| HSL | hsl(236, 19%, 44%) | |
| HSV / HSB | hsv(236, 31%, 53%) | |
| CMYK | cmyk(31%, 29%, 0%, 47%) | |
| CIE LAB | lab(41.5, 8.49, -22.05) | |
| CIE LCH | lch(41.5, 23.63, 291.05) | |
| CIE XYZ | xyz(12.808, 12.181, 24.226) | |
| Decimal | 6053766 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C5F86, 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 #5C5F86 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.44:1 | Fail | Fail | Pass |
| Sample text | 6.11:1 | Pass | Fail | Pass |
| #5C5F86 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.11:1 | Pass | Fail | Pass |
| Sample text | 3.44: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 #5C5F86 looks to people with the most common types of color vision deficiency.
#546388Protanopia
no red cones#526085Deuteranopia
no green cones#51666dTritanopia
no blue cones#626262Achromatopsia
no color vision
CSS examples
.background { background-color: #5c5f86; }
.text { color: #5c5f86; }
.border { border: 2px solid #5c5f86; }
.transparent { background-color: rgb(92 95 134 / 50%); }
.gradient { background: linear-gradient(to right, #5c5f86, #6e5c86); }
Similar colors
#5d6098Wizard’s Potion#4d5b88Wizard#4e5481Dusk#4c567aDeep Indigo#51588ePiccadilly Purple#6a6887Heron#655883Berry Jam#50507fTangent Periwinkle
Closest common color name: Dark Slate Blue.
Questions
- What color is #5C5F86?
- #5C5F86 is a grayish blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
- What is the RGB value of #5C5F86?
- The RGB value is 92, 95, 134: 92 red, 95 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #5C5F86?
- The complementary color is #86835C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C5F86?
- White text. Black text has a contrast ratio of 3.44:1 and white text 6.11:1. WCAG asks for at least 4.5:1 for normal text.