#5F638D color

#5F638D rgb(95, 99, 141)
Shades of blue

The hex color #5F638D is a grayish blue.

In the RGB color model it is made of 37.3% red, 38.8% green and 55.3% blue (95, 99, 141).

Its hue angle is 235°, with 19% saturation and 46% lightness. For print, the CMYK equivalent is 33% cyan, 30% magenta, 0% yellow and 45% black.

The closest named color is Wizard’s Potion (#5D6098), a difference of 3.3 ΔE, a small difference.

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

#5F638D color codes

HEX#5F638D
RGBrgb(95, 99, 141)
RGB percentrgb(37.3%, 38.8%, 55.3%)
HSLhsl(235, 19%, 46%)
HSV / HSBhsv(235, 33%, 55%)
CMYKcmyk(33%, 30%, 0%, 45%)
CIE LABlab(43.18, 8.89, -23.65)
CIE LCHlch(43.18, 25.26, 290.6)
CIE XYZxyz(13.988, 13.279, 27.02)
Decimal6251405
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5f638d; }
.text { color: #5f638d; }
.border { border: 2px solid #5f638d; }
.transparent { background-color: rgb(95 99 141 / 50%); }
.gradient { background: linear-gradient(to right, #5f638d, #725f8d); }
Background
Text color
Border

Similar colors

Closest common color name: Royal Purple.

Questions

What color is #5F638D?
#5F638D is a grayish blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
What is the RGB value of #5F638D?
The RGB value is 95, 99, 141: 95 red, 99 green and 141 blue on a 0 to 255 scale.
What is the complementary color of #5F638D?
The complementary color is #8D895F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5F638D?
White text. Black text has a contrast ratio of 3.66:1 and white text 5.74:1. WCAG asks for at least 4.5:1 for normal text.