#515152 Color Information

Hex color code: #515152

A subtle blue shade, #515152 appears as (81, 81, 82) in RGB and (240°, 1%, 32%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#515152
RGB
81, 81, 82
HSL
240°, 1%, 32%
CMYK
1%, 1%, 0%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #515152; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 81, 82

Red: 81 / Green: 81 / Blue: 82

HSL

240°, 1%, 32%

Hue: 240° / Saturation: 1% / Lightness: 32%

CMYK

1%, 1%, 0%, 68%

Cyan: 1% / Magenta: 1% / Yellow: 0% / Key: 68%

What color is #515152?

#515152 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #515152 to RGB:

rgb(81, 81, 82)HEX to RGB Converter →

HEX to HSL

Convert #515152 to HSL:

hsl(240, 1%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #515152 to CMYK:

cmyk(1%, 1%, 0%, 68%)Color Converter →

Color Meaning and Usage

A understated blue tone, #515152 has RGB (81, 81, 82) and HSL (240°, 1%, 32%). 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 #515152 is #525251, creating high-contrast pairings. For softer combinations, try analogous colors like #515252.

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

Contrast with #515152

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #515152?

#515152 is a understated blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #515152?

#515152 in RGB is (81, 81, 82) - 81 red, 81 green, and 82 blue.

How to use #515152 in CSS?

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

What colors go well with #515152?

#525251 (complementary), #515252 (analogous), and #2B2B2C (lighter shade) work well with #515152.