#798CD2 Color Information

Hex color code: #798CD2

The hex color #798CD2 is a calming blue with RGB values of (121, 140, 210) and HSL of (227°, 50%, 65%). It is frequently seen in web interfaces.

Try:
Color NameCornflower Blue
HEX
#798CD2
RGB
121, 140, 210
HSL
227°, 50%, 65%
CMYK
42%, 33%, 0%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #798CD2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 140, 210

Red: 121 / Green: 140 / Blue: 210

HSL

227°, 50%, 65%

Hue: 227° / Saturation: 50% / Lightness: 65%

CMYK

42%, 33%, 0%, 18%

Cyan: 42% / Magenta: 33% / Yellow: 0% / Key: 18%

What color is #798CD2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798CD2 to RGB:

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

HEX to HSL

Convert #798CD2 to HSL:

hsl(227, 50%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #798CD2 to CMYK:

cmyk(42%, 33%, 0%, 18%)Color Converter →

Color Meaning and Usage

#798CD2 is a calming blue color with RGB values of 121, 140, 210 and HSL of 227°, 50%, 65%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798CD2 is #D2BF79, creating high-contrast pairings. For softer combinations, try analogous colors like #79B9D2.

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

Contrast with #798CD2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798CD2?

#798CD2 is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #798CD2?

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

How to use #798CD2 in CSS?

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

What colors go well with #798CD2?

#D2BF79 (complementary), #79B9D2 (analogous), and #405BBF (lighter shade) work well with #798CD2.