#797FEC Color Information

Hex color code: #797FEC

A vivid blue shade, #797FEC appears as (121, 127, 236) in RGB and (237°, 75%, 70%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#797FEC
RGB
121, 127, 236
HSL
237°, 75%, 70%
CMYK
49%, 46%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797FEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 127, 236

Red: 121 / Green: 127 / Blue: 236

HSL

237°, 75%, 70%

Hue: 237° / Saturation: 75% / Lightness: 70%

CMYK

49%, 46%, 0%, 7%

Cyan: 49% / Magenta: 46% / Yellow: 0% / Key: 7%

What color is #797FEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797FEC to RGB:

rgb(121, 127, 236)HEX to RGB Converter →

HEX to HSL

Convert #797FEC to HSL:

hsl(237, 75%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #797FEC to CMYK:

cmyk(49%, 46%, 0%, 7%)Color Converter →

Color Meaning and Usage

#797FEC is a dynamic blue color with RGB values of 121, 127, 236 and HSL of 237°, 75%, 70%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797FEC is #ECE679, creating high-contrast pairings. For softer combinations, try analogous colors like #79B8EC.

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

Contrast with #797FEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797FEC?

#797FEC is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #797FEC?

#797FEC in RGB is (121, 127, 236) - 121 red, 127 green, and 236 blue.

How to use #797FEC in CSS?

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

What colors go well with #797FEC?

#ECE679 (complementary), #79B8EC (analogous), and #363FE2 (lighter shade) work well with #797FEC.