#798CEC Color Information

Hex color code: #798CEC

#798CEC is a bold blue color. In RGB it is (121, 140, 236), and in HSL it is (230°, 75%, 70%). It is often used for branding and logos.

Try:
Color NameCornflower Blue
HEX
#798CEC
RGB
121, 140, 236
HSL
230°, 75%, 70%
CMYK
49%, 41%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #798CEC; 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 #798CEC; background-color: #798CEC15; }

Alert / Toast

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

Link / Accent

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

a { color: #798CEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #798CEC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 140, 236

Red: 121 / Green: 140 / Blue: 236

HSL

230°, 75%, 70%

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

CMYK

49%, 41%, 0%, 7%

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

What color is #798CEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798CEC to RGB:

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

HEX to HSL

Convert #798CEC to HSL:

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

HEX to CMYK

Convert #798CEC to CMYK:

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

Color Meaning and Usage

#798CEC is a dynamic blue color with RGB values of 121, 140, 236 and HSL of 230°, 75%, 70%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798CEC is #ECD979, creating high-contrast pairings. For softer combinations, try analogous colors like #79C6EC.

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

Contrast with #798CEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798CEC?

#798CEC is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #798CEC?

#798CEC in RGB is (121, 140, 236) - 121 red, 140 green, and 236 blue.

How to use #798CEC in CSS?

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

What colors go well with #798CEC?

#ECD979 (complementary), #79C6EC (analogous), and #3653E2 (lighter shade) work well with #798CEC.