#504D5B Color Information

Hex color code: #504D5B

The hex color #504D5B is a subtle blue with RGB values of (80, 77, 91) and HSL of (253°, 8%, 33%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#504D5B
RGB
80, 77, 91
HSL
253°, 8%, 33%
CMYK
12%, 15%, 0%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #504D5B; 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 #504D5B; background-color: #504D5B15; }

Alert / Toast

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

Link / Accent

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

a { color: #504D5B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #504D5B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 77, 91

Red: 80 / Green: 77 / Blue: 91

HSL

253°, 8%, 33%

Hue: 253° / Saturation: 8% / Lightness: 33%

CMYK

12%, 15%, 0%, 64%

Cyan: 12% / Magenta: 15% / Yellow: 0% / Key: 64%

What color is #504D5B?

#504D5B is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #504D5B to RGB:

rgb(80, 77, 91)HEX to RGB Converter →

HEX to HSL

Convert #504D5B to HSL:

hsl(253, 8%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #504D5B to CMYK:

cmyk(12%, 15%, 0%, 64%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #504D5B has RGB (80, 77, 91) and HSL (253°, 8%, 33%). Known for evoking balance and subtlety, this desaturated neutral is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #504D5B is #585B4D, creating high-contrast pairings. For softer combinations, try analogous colors like #4D515B.

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

Contrast with #504D5B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #504D5B?

#504D5B is a subtle blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #504D5B?

#504D5B in RGB is (80, 77, 91) - 80 red, 77 green, and 91 blue.

How to use #504D5B in CSS?

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

What colors go well with #504D5B?

#585B4D (complementary), #4D515B (analogous), and #2C2A32 (lighter shade) work well with #504D5B.