#505877 Color Information

Hex color code: #505877

#505877 is a subtle blue color. In RGB it is (80, 88, 119), and in HSL it is (228°, 20%, 39%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#505877
RGB
80, 88, 119
HSL
228°, 20%, 39%
CMYK
33%, 26%, 0%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #505877; 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 #505877; background-color: #50587715; }

Alert / Toast

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

Link / Accent

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

a { color: #505877; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #505877 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 88, 119

Red: 80 / Green: 88 / Blue: 119

HSL

228°, 20%, 39%

Hue: 228° / Saturation: 20% / Lightness: 39%

CMYK

33%, 26%, 0%, 53%

Cyan: 33% / Magenta: 26% / Yellow: 0% / Key: 53%

What color is #505877?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #505877 to RGB:

rgb(80, 88, 119)HEX to RGB Converter →

HEX to HSL

Convert #505877 to HSL:

hsl(228, 20%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #505877 to CMYK:

cmyk(33%, 26%, 0%, 53%)Color Converter →

Color Meaning and Usage

A soft blue tone, #505877 has RGB (80, 88, 119) and HSL (228°, 20%, 39%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #505877 is #776F50, creating high-contrast pairings. For softer combinations, try analogous colors like #506B77.

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

Contrast with #505877

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #505877?

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

What is the RGB value of #505877?

#505877 in RGB is (80, 88, 119) - 80 red, 88 green, and 119 blue.

How to use #505877 in CSS?

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

What colors go well with #505877?

#776F50 (complementary), #506B77 (analogous), and #313649 (lighter shade) work well with #505877.