#5B658C color
The hex color #5B658C is a grayish blue.
In the RGB color model it is made of 35.7% red, 39.6% green and 54.9% blue (91, 101, 140).
Its hue angle is 228°, with 21% saturation and 45% lightness. For print, the CMYK equivalent is 35% cyan, 28% magenta, 0% yellow and 45% black.
The closest named color is Haunt Mist (#5F6D91), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.7:1).
#5B658C color codes
| HEX | #5B658C | |
|---|---|---|
| RGB | rgb(91, 101, 140) | |
| RGB percent | rgb(35.7%, 39.6%, 54.9%) | |
| HSL | hsl(228, 21%, 45%) | |
| HSV / HSB | hsv(228, 35%, 55%) | |
| CMYK | cmyk(35%, 28%, 0%, 45%) | |
| CIE LAB | lab(43.4, 6.14, -22.74) | |
| CIE LCH | lch(43.4, 23.55, 285.12) | |
| CIE XYZ | xyz(13.7, 13.424, 26.675) | |
| Decimal | 5989772 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B658C, 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 #5B658C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.68:1 | Fail | Fail | Pass |
| Sample text | 5.7:1 | Pass | Fail | Pass |
| #5B658C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.7:1 | Pass | Fail | Pass |
| Sample text | 3.68: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 #5B658C looks to people with the most common types of color vision deficiency.
#59698eProtanopia
no red cones#55658bDeuteranopia
no green cones#4d6d73Tritanopia
no blue cones#676767Achromatopsia
no color vision
CSS examples
.background { background-color: #5b658c; }
.text { color: #5b658c; }
.border { border: 2px solid #5b658c; }
.transparent { background-color: rgb(91 101 140 / 50%); }
.gradient { background: linear-gradient(to right, #5b658c, #6a5b8c); }
Similar colors
#5f6d91Haunt Mist#5d6098Wizard’s Potion#4d5b88Wizard#51588ePiccadilly Purple#6a6887Heron#6b6c89Dark Prince#636ca8Twinkle Night#4c567aDeep Indigo
Closest common color name: Slate Gray.
Questions
- What color is #5B658C?
- #5B658C is a grayish blue, closest to the named color Haunt Mist. It belongs to the blue family of colors.
- What is the RGB value of #5B658C?
- The RGB value is 91, 101, 140: 91 red, 101 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #5B658C?
- The complementary color is #8C825B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B658C?
- White text. Black text has a contrast ratio of 3.68:1 and white text 5.7:1. WCAG asks for at least 4.5:1 for normal text.