#5D638A color

#5D638A rgb(93, 99, 138)
Shades of blue

The hex color #5D638A is a grayish blue.

In the RGB color model it is made of 36.5% red, 38.8% green and 54.1% blue (93, 99, 138).

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

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

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

#5D638A color codes

HEX#5D638A
RGBrgb(93, 99, 138)
RGB percentrgb(36.5%, 38.8%, 54.1%)
HSLhsl(232, 19%, 45%)
HSV / HSBhsv(232, 33%, 54%)
CMYKcmyk(33%, 28%, 0%, 46%)
CIE LABlab(42.89, 7.43, -22.31)
CIE LCHlch(42.89, 23.51, 288.43)
CIE XYZxyz(13.562, 13.085, 25.851)
Decimal6120330
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5d638a; }
.text { color: #5d638a; }
.border { border: 2px solid #5d638a; }
.transparent { background-color: rgb(93 99 138 / 50%); }
.gradient { background: linear-gradient(to right, #5d638a, #6d5d8a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

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