#5B5B7B color

#5B5B7B rgb(91, 91, 123)
Shades of blue

The hex color #5B5B7B is a grayish blue.

In the RGB color model it is made of 35.7% red, 35.7% green and 48.2% blue (91, 91, 123).

Its hue angle is 240°, with 15% saturation and 42% lightness. For print, the CMYK equivalent is 26% cyan, 26% magenta, 0% yellow and 52% black.

The closest named color is Majestic Magic (#555570), a difference of 2.8 ΔE, a small difference.

White text is the more readable choice on this background (contrast 6.51:1).

#5B5B7B color codes

HEX#5B5B7B
RGBrgb(91, 91, 123)
RGB percentrgb(35.7%, 35.7%, 48.2%)
HSLhsl(240, 15%, 42%)
HSV / HSBhsv(240, 26%, 48%)
CMYKcmyk(26%, 26%, 0%, 52%)
CIE LABlab(39.81, 7.67, -17.98)
CIE LCHlch(39.81, 19.55, 293.1)
CIE XYZxyz(11.63, 11.136, 20.272)
Decimal5987195
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5B5B7B, 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 #5B5B7BRatioAAAAAAA large
Sample text3.23:1FailFailPass
Sample text6.51:1PassFailPass
#5B5B7B as text onRatioAAAAAAA large
Sample text6.51:1PassFailPass
Sample text3.23:1FailFailPass

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 #5B5B7B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b5b7b; }
.text { color: #5b5b7b; }
.border { border: 2px solid #5b5b7b; }
.transparent { background-color: rgb(91 91 123 / 50%); }
.gradient { background: linear-gradient(to right, #5b5b7b, #6b5b7b); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #5B5B7B?
#5B5B7B 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 #5B5B7B?
The RGB value is 91, 91, 123: 91 red, 91 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #5B5B7B?
The complementary color is #7B7B5B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B5B7B?
White text. Black text has a contrast ratio of 3.23:1 and white text 6.51:1. WCAG asks for at least 4.5:1 for normal text.