#5A627C Color Information

Hex color code: #5A627C

A muted blue shade, #5A627C appears as (90, 98, 124) in RGB and (226°, 16%, 42%) in HSL. It is typically applied in digital products.

Try:
Color NameSlate Gray
HEX
#5A627C
RGB
90, 98, 124
HSL
226°, 16%, 42%
CMYK
27%, 21%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #5A627C; 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 #5A627C; background-color: #5A627C15; }

Alert / Toast

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

Link / Accent

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

a { color: #5A627C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

90, 98, 124

Red: 90 / Green: 98 / Blue: 124

HSL

226°, 16%, 42%

Hue: 226° / Saturation: 16% / Lightness: 42%

CMYK

27%, 21%, 0%, 51%

Cyan: 27% / Magenta: 21% / Yellow: 0% / Key: 51%

What color is #5A627C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5A627C to RGB:

rgb(90, 98, 124)HEX to RGB Converter →

HEX to HSL

Convert #5A627C to HSL:

hsl(226, 16%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #5A627C to CMYK:

cmyk(27%, 21%, 0%, 51%)Color Converter →

Color Meaning and Usage

#5A627C is a muted blue color with RGB values of 90, 98, 124 and HSL of 226°, 16%, 42%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5A627C is #7C745A, creating high-contrast pairings. For softer combinations, try analogous colors like #5A737C.

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

Contrast with #5A627C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5A627C?

#5A627C is a muted blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5A627C?

#5A627C in RGB is (90, 98, 124) - 90 red, 98 green, and 124 blue.

How to use #5A627C in CSS?

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

What colors go well with #5A627C?

#7C745A (complementary), #5A737C (analogous), and #3A3F50 (lighter shade) work well with #5A627C.