#797BF1 Color Information

Hex color code: #797BF1

#797BF1 is a vivid blue color. In RGB it is (121, 123, 241), and in HSL it is (239°, 81%, 71%). It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#797BF1
RGB
121, 123, 241
HSL
239°, 81%, 71%
CMYK
50%, 49%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797BF1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 123, 241

Red: 121 / Green: 123 / Blue: 241

HSL

239°, 81%, 71%

Hue: 239° / Saturation: 81% / Lightness: 71%

CMYK

50%, 49%, 0%, 5%

Cyan: 50% / Magenta: 49% / Yellow: 0% / Key: 5%

What color is #797BF1?

#797BF1 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797BF1 to RGB:

rgb(121, 123, 241)HEX to RGB Converter →

HEX to HSL

Convert #797BF1 to HSL:

hsl(239, 81%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #797BF1 to CMYK:

cmyk(50%, 49%, 0%, 5%)Color Converter →

Color Meaning and Usage

#797BF1 is a bold blue color with RGB values of 121, 123, 241 and HSL of 239°, 81%, 71%. This highly saturated hue evokes energy and excitement, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797BF1 is #F1EF79, creating high-contrast pairings. For softer combinations, try analogous colors like #79B7F1.

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

Contrast with #797BF1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797BF1?

#797BF1 is a bold blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #797BF1?

#797BF1 in RGB is (121, 123, 241) - 121 red, 123 green, and 241 blue.

How to use #797BF1 in CSS?

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

What colors go well with #797BF1?

#F1EF79 (complementary), #79B7F1 (analogous), and #3437EA (lighter shade) work well with #797BF1.