#515E7B Color Information

Hex color code: #515E7B

#515E7B is a gentle blue color. In RGB it is (81, 94, 123), and in HSL it is (221°, 21%, 40%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#515E7B
RGB
81, 94, 123
HSL
221°, 21%, 40%
CMYK
34%, 24%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #515E7B; 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 #515E7B; background-color: #515E7B15; }

Alert / Toast

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

Link / Accent

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

a { color: #515E7B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #515E7B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 94, 123

Red: 81 / Green: 94 / Blue: 123

HSL

221°, 21%, 40%

Hue: 221° / Saturation: 21% / Lightness: 40%

CMYK

34%, 24%, 0%, 52%

Cyan: 34% / Magenta: 24% / Yellow: 0% / Key: 52%

What color is #515E7B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #515E7B to RGB:

rgb(81, 94, 123)HEX to RGB Converter →

HEX to HSL

Convert #515E7B to HSL:

hsl(221, 21%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #515E7B to CMYK:

cmyk(34%, 24%, 0%, 52%)Color Converter →

Color Meaning and Usage

A pastel blue tone, #515E7B has RGB (81, 94, 123) and HSL (221°, 21%, 40%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #515E7B is #7B6E51, creating high-contrast pairings. For softer combinations, try analogous colors like #51747B.

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

Contrast with #515E7B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #515E7B?

#515E7B is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #515E7B?

#515E7B in RGB is (81, 94, 123) - 81 red, 94 green, and 123 blue.

How to use #515E7B in CSS?

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

What colors go well with #515E7B?

#7B6E51 (complementary), #51747B (analogous), and #323B4D (lighter shade) work well with #515E7B.