#797996 Color Information

Hex color code: #797996

A neutral blue shade, #797996 appears as (121, 121, 150) in RGB and (240°, 12%, 53%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSlate Gray
HEX
#797996
RGB
121, 121, 150
HSL
240°, 12%, 53%
CMYK
19%, 19%, 0%, 41%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797996; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 121, 150

Red: 121 / Green: 121 / Blue: 150

HSL

240°, 12%, 53%

Hue: 240° / Saturation: 12% / Lightness: 53%

CMYK

19%, 19%, 0%, 41%

Cyan: 19% / Magenta: 19% / Yellow: 0% / Key: 41%

What color is #797996?

#797996 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797996 to RGB:

rgb(121, 121, 150)HEX to RGB Converter →

HEX to HSL

Convert #797996 to HSL:

hsl(240, 12%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #797996 to CMYK:

cmyk(19%, 19%, 0%, 41%)Color Converter →

Color Meaning and Usage

A muted blue tone, #797996 has RGB (121, 121, 150) and HSL (240°, 12%, 53%). Known for evoking balance and subtlety, this desaturated neutral is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797996 is #969679, creating high-contrast pairings. For softer combinations, try analogous colors like #798796.

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

Contrast with #797996

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797996?

#797996 is a muted blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #797996?

#797996 in RGB is (121, 121, 150) - 121 red, 121 green, and 150 blue.

How to use #797996 in CSS?

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

What colors go well with #797996?

#969679 (complementary), #798796 (analogous), and #55556D (lighter shade) work well with #797996.