#798DCD Color Information

Hex color code: #798DCD

#798DCD is a pastel blue color. In RGB it is (121, 141, 205), and in HSL it is (226°, 46%, 64%). It is commonly used in modern UI design.

Try:
Color NameCornflower Blue
HEX
#798DCD
RGB
121, 141, 205
HSL
226°, 46%, 64%
CMYK
41%, 31%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #798DCD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 141, 205

Red: 121 / Green: 141 / Blue: 205

HSL

226°, 46%, 64%

Hue: 226° / Saturation: 46% / Lightness: 64%

CMYK

41%, 31%, 0%, 20%

Cyan: 41% / Magenta: 31% / Yellow: 0% / Key: 20%

What color is #798DCD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798DCD to RGB:

rgb(121, 141, 205)HEX to RGB Converter →

HEX to HSL

Convert #798DCD to HSL:

hsl(226, 46%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #798DCD to CMYK:

cmyk(41%, 31%, 0%, 20%)Color Converter →

Color Meaning and Usage

#798DCD is a soft blue color with RGB values of 121, 141, 205 and HSL of 226°, 46%, 64%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798DCD is #CDBA79, creating high-contrast pairings. For softer combinations, try analogous colors like #79B7CD.

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

Contrast with #798DCD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798DCD?

#798DCD is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #798DCD?

#798DCD in RGB is (121, 141, 205) - 121 red, 141 green, and 205 blue.

How to use #798DCD in CSS?

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

What colors go well with #798DCD?

#CDBA79 (complementary), #79B7CD (analogous), and #435EB6 (lighter shade) work well with #798DCD.