#5B648D color
The hex color #5B648D is a grayish blue.
In the RGB color model it is made of 35.7% red, 39.2% green and 55.3% blue (91, 100, 141).
Its hue angle is 229°, with 22% saturation and 45% lightness. For print, the CMYK equivalent is 35% cyan, 29% magenta, 0% yellow and 45% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.75:1).
#5B648D color codes
| HEX | #5B648D | |
|---|---|---|
| RGB | rgb(91, 100, 141) | |
| RGB percent | rgb(35.7%, 39.2%, 55.3%) | |
| HSL | hsl(229, 22%, 45%) | |
| HSV / HSB | hsv(229, 35%, 55%) | |
| CMYK | cmyk(35%, 29%, 0%, 45%) | |
| CIE LAB | lab(43.15, 7.04, -23.71) | |
| CIE LCH | lch(43.15, 24.74, 286.54) | |
| CIE XYZ | xyz(13.678, 13.261, 27.033) | |
| Decimal | 5989517 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B648D, 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 #5B648D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.65:1 | Fail | Fail | Pass |
| Sample text | 5.75:1 | Pass | Fail | Pass |
| #5B648D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.75:1 | Pass | Fail | Pass |
| Sample text | 3.65: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 #5B648D looks to people with the most common types of color vision deficiency.
#57688fProtanopia
no red cones#53648cDeuteranopia
no green cones#4d6c72Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #5b648d; }
.text { color: #5b648d; }
.border { border: 2px solid #5b648d; }
.transparent { background-color: rgb(91 100 141 / 50%); }
.gradient { background: linear-gradient(to right, #5b648d, #6b5b8d); }
Similar colors
#5d6098Wizard’s Potion#5f6d91Haunt Mist#4d5b88Wizard#51588ePiccadilly Purple#6a6887Heron#4c567aDeep Indigo#636ca8Twinkle Night#4e5481Dusk
Closest common color name: Denim.
Questions
- What color is #5B648D?
- #5B648D 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 #5B648D?
- The RGB value is 91, 100, 141: 91 red, 100 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #5B648D?
- The complementary color is #8D845B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B648D?
- White text. Black text has a contrast ratio of 3.65:1 and white text 5.75:1. WCAG asks for at least 4.5:1 for normal text.