#797298 Color Information

Hex color code: #797298

The hex color #797298 is a muted blue with RGB values of (121, 114, 152) and HSL of (251°, 16%, 52%). It is typically applied in digital products.

Try:
Color NameSlate Gray
HEX
#797298
RGB
121, 114, 152
HSL
251°, 16%, 52%
CMYK
20%, 25%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797298; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 114, 152

Red: 121 / Green: 114 / Blue: 152

HSL

251°, 16%, 52%

Hue: 251° / Saturation: 16% / Lightness: 52%

CMYK

20%, 25%, 0%, 40%

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

What color is #797298?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797298 to RGB:

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

HEX to HSL

Convert #797298 to HSL:

hsl(251, 16%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #797298 to CMYK:

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

Color Meaning and Usage

A understated blue tone, #797298 has RGB (121, 114, 152) and HSL (251°, 16%, 52%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797298 is #919871, creating high-contrast pairings. For softer combinations, try analogous colors like #717D98.

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

Contrast with #797298

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797298?

#797298 is a understated blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #797298?

#797298 in RGB is (121, 114, 152) - 121 red, 114 green, and 152 blue.

How to use #797298 in CSS?

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

What colors go well with #797298?

#919871 (complementary), #717D98 (analogous), and #554F6D (lighter shade) work well with #797298.