#5F617F color

#5F617F rgb(95, 97, 127)
Shades of blue

The hex color #5F617F is a grayish blue.

In the RGB color model it is made of 37.3% red, 38% green and 49.8% blue (95, 97, 127).

Its hue angle is 236°, with 14% saturation and 44% lightness. For print, the CMYK equivalent is 25% cyan, 24% magenta, 0% yellow and 50% black.

The closest named color is Heron (#6A6887), a difference of 3.4 ΔE, a small difference.

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

#5F617F color codes

HEX#5F617F
RGBrgb(95, 97, 127)
RGB percentrgb(37.3%, 38%, 49.8%)
HSLhsl(236, 14%, 44%)
HSV / HSBhsv(236, 25%, 50%)
CMYKcmyk(25%, 24%, 0%, 50%)
CIE LABlab(42.02, 6.35, -16.99)
CIE LCHlch(42.02, 18.14, 290.5)
CIE XYZxyz(12.824, 12.514, 21.814)
Decimal6250879
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5F617F, 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 #5F617FRatioAAAAAAA large
Sample text3.5:1FailFailPass
Sample text6:1PassFailPass
#5F617F as text onRatioAAAAAAA large
Sample text6:1PassFailPass
Sample text3.5: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 #5F617F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5f617f; }
.text { color: #5f617f; }
.border { border: 2px solid #5f617f; }
.transparent { background-color: rgb(95 97 127 / 50%); }
.gradient { background: linear-gradient(to right, #5f617f, #6d5f7f); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #5F617F?
#5F617F is a grayish blue, closest to the named color Heron. It belongs to the blue family of colors.
What is the RGB value of #5F617F?
The RGB value is 95, 97, 127: 95 red, 97 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #5F617F?
The complementary color is #7F7D5F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5F617F?
White text. Black text has a contrast ratio of 3.5:1 and white text 6:1. WCAG asks for at least 4.5:1 for normal text.