#51597B Color Information

Hex color code: #51597B

The hex color #51597B is a soft blue with RGB values of (81, 89, 123) and HSL of (229°, 21%, 40%). It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#51597B
RGB
81, 89, 123
HSL
229°, 21%, 40%
CMYK
34%, 28%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #51597B; 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 #51597B; background-color: #51597B15; }

Alert / Toast

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

Link / Accent

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

a { color: #51597B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51597B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 89, 123

Red: 81 / Green: 89 / Blue: 123

HSL

229°, 21%, 40%

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

CMYK

34%, 28%, 0%, 52%

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

What color is #51597B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51597B to RGB:

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

HEX to HSL

Convert #51597B to HSL:

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

HEX to CMYK

Convert #51597B to CMYK:

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

Color Meaning and Usage

A delicate blue tone, #51597B has RGB (81, 89, 123) and HSL (229°, 21%, 40%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51597B is #7B7451, creating high-contrast pairings. For softer combinations, try analogous colors like #516E7B.

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

Contrast with #51597B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51597B?

#51597B is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #51597B?

#51597B in RGB is (81, 89, 123) - 81 red, 89 green, and 123 blue.

How to use #51597B in CSS?

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

What colors go well with #51597B?

#7B7451 (complementary), #516E7B (analogous), and #32374D (lighter shade) work well with #51597B.