#797398 Color Information

Hex color code: #797398

A muted blue shade, #797398 appears as (121, 115, 152) in RGB and (250°, 15%, 52%) in HSL. It is typically applied in digital products.

Try:
Color NameSlate Gray
HEX
#797398
RGB
121, 115, 152
HSL
250°, 15%, 52%
CMYK
20%, 24%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797398; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 115, 152

Red: 121 / Green: 115 / Blue: 152

HSL

250°, 15%, 52%

Hue: 250° / Saturation: 15% / Lightness: 52%

CMYK

20%, 24%, 0%, 40%

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

What color is #797398?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797398 to RGB:

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

HEX to HSL

Convert #797398 to HSL:

hsl(250, 15%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #797398 to CMYK:

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

Color Meaning and Usage

A neutral blue tone, #797398 has RGB (121, 115, 152) and HSL (250°, 15%, 52%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797398 is #919772, creating high-contrast pairings. For softer combinations, try analogous colors like #727E97.

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

Contrast with #797398

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797398?

#797398 is a neutral blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #797398?

#797398 in RGB is (121, 115, 152) - 121 red, 115 green, and 152 blue.

How to use #797398 in CSS?

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

What colors go well with #797398?

#919772 (complementary), #727E97 (analogous), and #55506D (lighter shade) work well with #797398.