#5B626B color
The hex color #5B626B is a grayish azure.
In the RGB color model it is made of 35.7% red, 38.4% green and 42% blue (91, 98, 107).
Its hue angle is 214°, with 8% saturation and 39% lightness. For print, the CMYK equivalent is 15% cyan, 8% 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.17:1).
#5B626B color codes
| HEX | #5B626B | |
|---|---|---|
| RGB | rgb(91, 98, 107) | |
| RGB percent | rgb(35.7%, 38.4%, 42%) | |
| HSL | hsl(214, 8%, 39%) | |
| HSV / HSB | hsv(214, 15%, 42%) | |
| CMYK | cmyk(15%, 8%, 0%, 58%) | |
| CIE LAB | lab(41.25, -0.65, -6.01) | |
| CIE LCH | lch(41.25, 6.05, 263.82) | |
| CIE XYZ | xyz(11.335, 12.021, 15.63) | |
| Decimal | 5988971 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B626B, 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 #5B626B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.4:1 | Fail | Fail | Pass |
| Sample text | 6.17:1 | Pass | Fail | Pass |
| #5B626B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.17: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 #5B626B looks to people with the most common types of color vision deficiency.
#5f626bProtanopia
no red cones#5d616bDeuteranopia
no green cones#576465Tritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #5b626b; }
.text { color: #5b626b; }
.border { border: 2px solid #5b626b; }
.transparent { background-color: rgb(91 98 107 / 50%); }
.gradient { background: linear-gradient(to right, #5b626b, #5c5b6b); }
Similar colors
#59656dStreets of London#566373Midnight Shadow#5a5e61Blindfolded#535e64Lava Rock#616669Gray Web#5c606eConcrete Landscape#656874Alley Cat#646b7aAshen Whisper
Closest common color name: Dim Gray.
Questions
- What color is #5B626B?
- #5B626B 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 #5B626B?
- The RGB value is 91, 98, 107: 91 red, 98 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #5B626B?
- The complementary color is #6B645B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B626B?
- White text. Black text has a contrast ratio of 3.4:1 and white text 6.17:1. WCAG asks for at least 4.5:1 for normal text.