#797297 Color Information

Hex color code: #797297

#797297 is a understated blue color. In RGB it is (121, 114, 151), and in HSL it is (251°, 15%, 52%). It is popular in mobile app design.

Try:
Color NameSlate Gray
HEX
#797297
RGB
121, 114, 151
HSL
251°, 15%, 52%
CMYK
20%, 25%, 0%, 41%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797297; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 114, 151

Red: 121 / Green: 114 / Blue: 151

HSL

251°, 15%, 52%

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

CMYK

20%, 25%, 0%, 41%

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

What color is #797297?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797297 to RGB:

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

HEX to HSL

Convert #797297 to HSL:

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

HEX to CMYK

Convert #797297 to CMYK:

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

Color Meaning and Usage

A neutral blue tone, #797297 has RGB (121, 114, 151) and HSL (251°, 15%, 52%). Known for evoking creativity and luxury, this blue-purple hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

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

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

Contrast with #797297

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 #797297?

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

What is the RGB value of #797297?

#797297 in RGB is (121, 114, 151) - 121 red, 114 green, and 151 blue.

How to use #797297 in CSS?

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

What colors go well with #797297?

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