#787298 Color Information

Hex color code: #787298

The hex color #787298 is a balanced blue with RGB values of (120, 114, 152) and HSL of (249°, 16%, 52%). It is often used for branding and logos.

Try:
Color NameSlate Gray
HEX
#787298
RGB
120, 114, 152
HSL
249°, 16%, 52%
CMYK
21%, 25%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #787298; 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 #787298; background-color: #78729815; }

Alert / Toast

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

Link / Accent

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

a { color: #787298; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #787298 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 114, 152

Red: 120 / Green: 114 / Blue: 152

HSL

249°, 16%, 52%

Hue: 249° / Saturation: 16% / Lightness: 52%

CMYK

21%, 25%, 0%, 40%

Cyan: 21% / Magenta: 25% / Yellow: 0% / Key: 40%

What color is #787298?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #787298 to RGB:

rgb(120, 114, 152)HEX to RGB Converter →

HEX to HSL

Convert #787298 to HSL:

hsl(249, 16%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #787298 to CMYK:

cmyk(21%, 25%, 0%, 40%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #787298 has RGB (120, 114, 152) and HSL (249°, 16%, 52%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #787298 is #929871, creating high-contrast pairings. For softer combinations, try analogous colors like #717F98.

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

Contrast with #787298

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #787298?

#787298 is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #787298?

#787298 in RGB is (120, 114, 152) - 120 red, 114 green, and 152 blue.

How to use #787298 in CSS?

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

What colors go well with #787298?

#929871 (complementary), #717F98 (analogous), and #544F6D (lighter shade) work well with #787298.