#5D5A72 color
The hex color #5D5A72 is a grayish blue.
In the RGB color model it is made of 36.5% red, 35.3% green and 44.7% blue (93, 90, 114).
Its hue angle is 248°, with 12% saturation and 40% lightness. For print, the CMYK equivalent is 18% cyan, 21% magenta, 0% yellow and 55% black.
The closest named color is Majestic Magic (#555570), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.62:1).
#5D5A72 color codes
| HEX | #5D5A72 | |
|---|---|---|
| RGB | rgb(93, 90, 114) | |
| RGB percent | rgb(36.5%, 35.3%, 44.7%) | |
| HSL | hsl(248, 12%, 40%) | |
| HSV / HSB | hsv(248, 21%, 45%) | |
| CMYK | cmyk(18%, 21%, 0%, 55%) | |
| CIE LAB | lab(39.33, 6.67, -13.17) | |
| CIE LCH | lch(39.33, 14.77, 296.86) | |
| CIE XYZ | xyz(11.207, 10.854, 17.421) | |
| Decimal | 6118002 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5A72, 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 #5D5A72 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.62:1 | Pass | Fail | Pass |
| #5D5A72 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.62:1 | Pass | Fail | Pass |
| Sample text | 3.17: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 #5D5A72 looks to people with the most common types of color vision deficiency.
#555d73Protanopia
no red cones#555c71Deuteranopia
no green cones#595e62Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #5d5a72; }
.text { color: #5d5a72; }
.border { border: 2px solid #5d5a72; }
.transparent { background-color: rgb(93 90 114 / 50%); }
.gradient { background: linear-gradient(to right, #5d5a72, #695a72); }
Similar colors
#555570Majestic Magic#565266Freefall#675a75Plummy#605d6bSmoky#4d516cIntergalactic#5f606eVenus Mist#625665Fedora#4f566cHeavy Violet
Closest common color name: Dim Gray.
Questions
- What color is #5D5A72?
- #5D5A72 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 #5D5A72?
- The RGB value is 93, 90, 114: 93 red, 90 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #5D5A72?
- The complementary color is #6F725A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5A72?
- White text. Black text has a contrast ratio of 3.17:1 and white text 6.62:1. WCAG asks for at least 4.5:1 for normal text.