#798FD8 Color Information

Hex color code: #798FD8

#798FD8 is a calming blue color. In RGB it is (121, 143, 216), and in HSL it is (226°, 55%, 66%). It is often used for branding and logos.

Try:
Color NameCornflower Blue
HEX
#798FD8
RGB
121, 143, 216
HSL
226°, 55%, 66%
CMYK
44%, 34%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #798FD8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 143, 216

Red: 121 / Green: 143 / Blue: 216

HSL

226°, 55%, 66%

Hue: 226° / Saturation: 55% / Lightness: 66%

CMYK

44%, 34%, 0%, 15%

Cyan: 44% / Magenta: 34% / Yellow: 0% / Key: 15%

What color is #798FD8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798FD8 to RGB:

rgb(121, 143, 216)HEX to RGB Converter →

HEX to HSL

Convert #798FD8 to HSL:

hsl(226, 55%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #798FD8 to CMYK:

cmyk(44%, 34%, 0%, 15%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #798FD8 has RGB (121, 143, 216) and HSL (226°, 55%, 66%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798FD8 is #D8C279, creating high-contrast pairings. For softer combinations, try analogous colors like #79BFD8.

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

Contrast with #798FD8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798FD8?

#798FD8 is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #798FD8?

#798FD8 in RGB is (121, 143, 216) - 121 red, 143 green, and 216 blue.

How to use #798FD8 in CSS?

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

What colors go well with #798FD8?

#D8C279 (complementary), #79BFD8 (analogous), and #3D5DC7 (lighter shade) work well with #798FD8.