#787DBA Color Information

Hex color code: #787DBA

A delicate blue shade, #787DBA appears as (120, 125, 186) in RGB and (235°, 32%, 60%) in HSL. It is popular in mobile app design.

Try:
Color NameLight Slate Gray
HEX
#787DBA
RGB
120, 125, 186
HSL
235°, 32%, 60%
CMYK
35%, 33%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #787DBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 125, 186

Red: 120 / Green: 125 / Blue: 186

HSL

235°, 32%, 60%

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

CMYK

35%, 33%, 0%, 27%

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

What color is #787DBA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #787DBA to RGB:

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

HEX to HSL

Convert #787DBA to HSL:

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

HEX to CMYK

Convert #787DBA to CMYK:

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

Color Meaning and Usage

#787DBA is a subtle blue color with RGB values of 120, 125, 186 and HSL of 235°, 32%, 60%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #787DBA is #BAB478, creating high-contrast pairings. For softer combinations, try analogous colors like #789EBA.

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

Contrast with #787DBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #787DBA?

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

What is the RGB value of #787DBA?

#787DBA in RGB is (120, 125, 186) - 120 red, 125 green, and 186 blue.

How to use #787DBA in CSS?

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

What colors go well with #787DBA?

#BAB478 (complementary), #789EBA (analogous), and #4E5497 (lighter shade) work well with #787DBA.