#787B8C Color Information

Hex color code: #787B8C

#787B8C is a neutral blue color. In RGB it is (120, 123, 140), and in HSL it is (231°, 8%, 51%). It is commonly used in modern UI design.

Try:
Color NameSlate Gray
HEX
#787B8C
RGB
120, 123, 140
HSL
231°, 8%, 51%
CMYK
14%, 12%, 0%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #787B8C; 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 #787B8C; background-color: #787B8C15; }

Alert / Toast

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

Link / Accent

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

a { color: #787B8C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #787B8C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 123, 140

Red: 120 / Green: 123 / Blue: 140

HSL

231°, 8%, 51%

Hue: 231° / Saturation: 8% / Lightness: 51%

CMYK

14%, 12%, 0%, 45%

Cyan: 14% / Magenta: 12% / Yellow: 0% / Key: 45%

What color is #787B8C?

#787B8C is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #787B8C to RGB:

rgb(120, 123, 140)HEX to RGB Converter →

HEX to HSL

Convert #787B8C to HSL:

hsl(231, 8%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #787B8C to CMYK:

cmyk(14%, 12%, 0%, 45%)Color Converter →

Color Meaning and Usage

A muted blue tone, #787B8C has RGB (120, 123, 140) and HSL (231°, 8%, 51%). Known for evoking balance and subtlety, this desaturated neutral is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #787B8C is #8C8978, creating high-contrast pairings. For softer combinations, try analogous colors like #78858C.

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

Contrast with #787B8C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #787B8C?

#787B8C is a muted blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #787B8C?

#787B8C in RGB is (120, 123, 140) - 120 red, 123 green, and 140 blue.

How to use #787B8C in CSS?

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

What colors go well with #787B8C?

#8C8978 (complementary), #78858C (analogous), and #545763 (lighter shade) work well with #787B8C.