#7896BA Color Information

Hex color code: #7896BA

A pastel blue shade, #7896BA appears as (120, 150, 186) in RGB and (213°, 32%, 60%) in HSL. It is commonly used in modern UI design.

Try:
Color NameLight Slate Gray
HEX
#7896BA
RGB
120, 150, 186
HSL
213°, 32%, 60%
CMYK
35%, 19%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #7896BA; 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 #7896BA; background-color: #7896BA15; }

Alert / Toast

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

Link / Accent

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

a { color: #7896BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7896BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 150, 186

Red: 120 / Green: 150 / Blue: 186

HSL

213°, 32%, 60%

Hue: 213° / Saturation: 32% / Lightness: 60%

CMYK

35%, 19%, 0%, 27%

Cyan: 35% / Magenta: 19% / Yellow: 0% / Key: 27%

What color is #7896BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7896BA to RGB:

rgb(120, 150, 186)HEX to RGB Converter →

HEX to HSL

Convert #7896BA to HSL:

hsl(213, 32%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #7896BA to CMYK:

cmyk(35%, 19%, 0%, 27%)Color Converter →

Color Meaning and Usage

#7896BA is a pastel blue color with RGB values of 120, 150, 186 and HSL of 213°, 32%, 60%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7896BA is #BA9C78, creating high-contrast pairings. For softer combinations, try analogous colors like #78B6BA.

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

Contrast with #7896BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7896BA?

#7896BA is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7896BA?

#7896BA in RGB is (120, 150, 186) - 120 red, 150 green, and 186 blue.

How to use #7896BA in CSS?

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

What colors go well with #7896BA?

#BA9C78 (complementary), #78B6BA (analogous), and #4E6F97 (lighter shade) work well with #7896BA.