#797DA0 Color Information

Hex color code: #797DA0

The hex color #797DA0 is a neutral blue with RGB values of (121, 125, 160) and HSL of (234°, 17%, 55%). It is commonly used in modern UI design.

Try:
Color NameLight Slate Gray
HEX
#797DA0
RGB
121, 125, 160
HSL
234°, 17%, 55%
CMYK
24%, 22%, 0%, 37%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #797DA0; 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 #797DA0; background-color: #797DA015; }

Alert / Toast

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

Link / Accent

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

a { color: #797DA0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #797DA0 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 125, 160

Red: 121 / Green: 125 / Blue: 160

HSL

234°, 17%, 55%

Hue: 234° / Saturation: 17% / Lightness: 55%

CMYK

24%, 22%, 0%, 37%

Cyan: 24% / Magenta: 22% / Yellow: 0% / Key: 37%

What color is #797DA0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797DA0 to RGB:

rgb(121, 125, 160)HEX to RGB Converter →

HEX to HSL

Convert #797DA0 to HSL:

hsl(234, 17%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #797DA0 to CMYK:

cmyk(24%, 22%, 0%, 37%)Color Converter →

Color Meaning and Usage

A understated blue tone, #797DA0 has RGB (121, 125, 160) and HSL (234°, 17%, 55%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797DA0 is #A09C79, creating high-contrast pairings. For softer combinations, try analogous colors like #7990A0.

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

Contrast with #797DA0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797DA0?

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

What is the RGB value of #797DA0?

#797DA0 in RGB is (121, 125, 160) - 121 red, 125 green, and 160 blue.

How to use #797DA0 in CSS?

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

What colors go well with #797DA0?

#A09C79 (complementary), #7990A0 (analogous), and #555877 (lighter shade) work well with #797DA0.