#5D7998 Color Information

Hex color code: #5D7998

A soft blue shade, #5D7998 appears as (93, 121, 152) in RGB and (212°, 24%, 48%) in HSL. It is typically applied in digital products.

Try:
Color NameSlate Gray
HEX
#5D7998
RGB
93, 121, 152
HSL
212°, 24%, 48%
CMYK
39%, 20%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #5D7998; color: #000000; }

Badge

New Feature
.badge { background-color: #5D7998; color: #000000; }

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 #5D7998; background-color: #5D799815; }

Alert / Toast

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

Link / Accent

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

a { color: #5D7998; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5D7998 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

93, 121, 152

Red: 93 / Green: 121 / Blue: 152

HSL

212°, 24%, 48%

Hue: 212° / Saturation: 24% / Lightness: 48%

CMYK

39%, 20%, 0%, 40%

Cyan: 39% / Magenta: 20% / Yellow: 0% / Key: 40%

What color is #5D7998?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5D7998 to RGB:

rgb(93, 121, 152)HEX to RGB Converter →

HEX to HSL

Convert #5D7998 to HSL:

hsl(212, 24%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #5D7998 to CMYK:

cmyk(39%, 20%, 0%, 40%)Color Converter →

Color Meaning and Usage

#5D7998 is a pastel blue color with RGB values of 93, 121, 152 and HSL of 212°, 24%, 48%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5D7998 is #987C5D, creating high-contrast pairings. For softer combinations, try analogous colors like #5D9698.

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

Contrast with #5D7998

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

Contrast Ratio: 4.65:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5D7998?

#5D7998 is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5D7998?

#5D7998 in RGB is (93, 121, 152) - 93 red, 121 green, and 152 blue.

How to use #5D7998 in CSS?

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

What colors go well with #5D7998?

#987C5D (complementary), #5D9698 (analogous), and #405368 (lighter shade) work well with #5D7998.