#5F578B Color Information

Hex color code: #5F578B

#5F578B is a gentle blue color. In RGB it is (95, 87, 139), and in HSL it is (249°, 23%, 44%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#5F578B
RGB
95, 87, 139
HSL
249°, 23%, 44%
CMYK
32%, 37%, 0%, 45%

Shades

CSS Usage
color: #5F578B;
background-color: #5F578B;
border-color: #5F578B;
box-shadow: 0 0 10px #5F578B;
border: 2px solid #5F578B;
Tailwind Usage
bg-[#5F578B]
text-[#5F578B]
border-[#5F578B]
shadow-[0_0_10px_5F578B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5F578B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5F578B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5F578B; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #5F578B; background-color: #5F578B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5F578B20; border-left: 4px solid #5F578B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #5F578B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5F578B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 87, 139

Red: 95 / Green: 87 / Blue: 139

HSL

249°, 23%, 44%

Hue: 249° / Saturation: 23% / Lightness: 44%

CMYK

32%, 37%, 0%, 45%

Cyan: 32% / Magenta: 37% / Yellow: 0% / Key: 45%

What color is #5F578B?

#5F578B is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F578B to RGB:

rgb(95, 87, 139)HEX to RGB Converter →

HEX to HSL

Convert #5F578B to HSL:

hsl(249, 23%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #5F578B to CMYK:

cmyk(32%, 37%, 0%, 45%)Color Converter →

Color Meaning and Usage

A soft blue tone, #5F578B has RGB (95, 87, 139) and HSL (249°, 23%, 44%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F578B is #828A56, creating high-contrast pairings. For softer combinations, try analogous colors like #56688A.

Use #5F578B in CSS: color: #5F578B or background-color: #5F578B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #5F578B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.22:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F578B?

#5F578B is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5F578B?

#5F578B in RGB is (95, 87, 139) - 95 red, 87 green, and 139 blue.

How to use #5F578B in CSS?

Use #5F578B directly in your CSS properties like color or background-color.

What colors go well with #5F578B?

#828A56 (complementary), #56688A (analogous), and #3E395B (lighter shade) work well with #5F578B.