#5A626C color
The hex color #5A626C is a grayish azure.
In the RGB color model it is made of 35.3% red, 38.4% green and 42.4% blue (90, 98, 108).
Its hue angle is 213°, with 9% saturation and 39% lightness. For print, the CMYK equivalent is 17% cyan, 9% magenta, 0% yellow and 58% black.
The closest named color is Streets of London (#59656D), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.18:1).
#5A626C color codes
| HEX | #5A626C | |
|---|---|---|
| RGB | rgb(90, 98, 108) | |
| RGB percent | rgb(35.3%, 38.4%, 42.4%) | |
| HSL | hsl(213, 9%, 39%) | |
| HSV / HSB | hsv(213, 17%, 42%) | |
| CMYK | cmyk(17%, 9%, 0%, 58%) | |
| CIE LAB | lab(41.2, -0.78, -6.7) | |
| CIE LCH | lch(41.2, 6.75, 263.39) | |
| CIE XYZ | xyz(11.29, 11.992, 15.904) | |
| Decimal | 5923436 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A626C, 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 #5A626C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.4:1 | Fail | Fail | Pass |
| Sample text | 6.18:1 | Pass | Fail | Pass |
| #5A626C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.18:1 | Pass | Fail | Pass |
| Sample text | 3.4: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 #5A626C looks to people with the most common types of color vision deficiency.
#5f626dProtanopia
no red cones#5d606cDeuteranopia
no green cones#566465Tritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #5a626c; }
.text { color: #5a626c; }
.border { border: 2px solid #5a626c; }
.transparent { background-color: rgb(90 98 108 / 50%); }
.gradient { background: linear-gradient(to right, #5a626c, #5b5a6c); }
Similar colors
#59656dStreets of London#566373Midnight Shadow#5c606eConcrete Landscape#535e64Lava Rock#5a5e61Blindfolded#616669Gray Web#656874Alley Cat#4d5a6bStorm Rising
Closest common color name: Dim Gray.
Questions
- What color is #5A626C?
- #5A626C is a grayish azure, closest to the named color Streets of London. It belongs to the gray family of colors.
- What is the RGB value of #5A626C?
- The RGB value is 90, 98, 108: 90 red, 98 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #5A626C?
- The complementary color is #6C645A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A626C?
- White text. Black text has a contrast ratio of 3.4:1 and white text 6.18:1. WCAG asks for at least 4.5:1 for normal text.