Palettes / Colors / #787CB1
#787CB1 — Dusty Blue
#787CB1 is a blue color we call Dusty Blue, closest to the named color SlateGray (#708090). It belongs to the blue family.
Color name
Closest CSS keyword: slategray (#708090) — not an exact match. CSS slategray gives you #708090, a different color; use #787CB1 when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#787CB1 is a cool blue color associated with trust, calm and professionalism. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.
Its strongest partner is its complement #B1AD77; it also sits naturally between #7798B1 and #9077B1. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #787CB1 |
|---|---|
| RGB | 120, 124, 177 |
| HSL | 236°, 27%, 58% |
| HSV | 236°, 32%, 69% |
| CMYK | 32%, 30%, 0%, 31% |
| XYZ | 22.89, 21.58, 44.55 |
| Yxy | 21.58, 0.2571, 0.2424 |
| CIE-Lab | 53.58, 11.16, -28.51 |
| Hunter Lab | 46.46, 9.27, -27.90 |
RGB & CMYK percentages
Red 47% · Green 49% · Blue 69%
Cyan 32% · Magenta 30% · Yellow 0% · Key 31%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #787CB1
.text { color: #787CB1; }
.background { background-color: #787CB1; }
.border { border: 3px solid #787CB1; }
.text-rgb { color: rgb(120, 124, 177); }
.text-hsl { color: hsl(236, 27%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #787CB1; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(120, 124, 177, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #787CB1; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(120, 124, 177, 0.8); }
HTML: <p style="color:#787CB1">Text here</p> · <div style="background-color:#787CB1">Div content here</div>
Shades of #787CB1
Tints of #787CB1
Tones of #787CB1
Color harmonies
Complementary — #B1AD77:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 3.95:1 AA large only |
|---|---|
| Against black text | 5.32:1 AA |
Best text color on #787CB1: #000000.
Semi-transparent (opacity) text on #787CB1
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #787CB1: ·
How #787CB1 looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #787CB1 rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #787CB1?
#787CB1 is Dusty Blue, a blue color (RGB 120, 124, 177). Its closest standard named color is SlateGray.
What is the RGB and HSL of #787CB1?
#787CB1 is RGB 120, 124, 177 — HSL 236°, 27%, 58% — CMYK 32%, 30%, 0%, 31%.
What colors go with #787CB1?
Its complement is #B1AD77; analogous partners are #7798B1 and #9077B1. It also appears in 6+ palettes in our collection.
Can I use #787CB1 for text?
Black text on #787CB1 has a contrast ratio of 5.32:1 (passes WCAG AA); white text gives 3.95:1.