Maroon Colors  ·  Color Library

Palettes / Colors / #786FDF

#786FDF — Blue

#786FDF is a blue color we call Blue, closest to the named color SlateBlue (#6A5ACD). It belongs to the blue family.

Color name

Closest CSS keyword: slateblue (#6A5ACD) — not an exact match. CSS slateblue gives you #6A5ACD, a different color; use #786FDF 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.

#786FDF is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #D5DF6D; it also sits naturally between #6D9CDF and #AF6DDF. In the palettes below you can see it working alongside real color combinations from our collection.

#786FDF · RGB 120, 111, 223

Download PNG swatch SVG

Color values

HEX#786FDF
RGB120, 111, 223
HSL245°, 64%, 65%
HSV245°, 50%, 87%
CMYK46%, 50%, 0%, 13%
XYZ26.75, 20.69, 72.40
Yxy20.69, 0.2232, 0.1727
CIE-Lab52.61, 31.94, -56.27
Hunter Lab45.49, 28.24, -67.50

RGB & CMYK percentages

Red 47% · Green 44% · Blue 87%

Cyan 46% · Magenta 50% · Yellow 0% · Key 13%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #786FDF on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #786FDF on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #786FDF

.text { color: #786FDF; }
.background { background-color: #786FDF; }
.border { border: 3px solid #786FDF; }
.text-rgb { color: rgb(120, 111, 223); }
.text-hsl { color: hsl(245, 64%, 65%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #786FDF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(120, 111, 223, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #786FDF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(120, 111, 223, 0.8); }

HTML: <p style="color:#786FDF">Text here</p> · <div style="background-color:#786FDF">Div content here</div>

Shades of #786FDF

#5F54D9#473AD4#382BC5#3126AB#2A2092#211A75#1A145C#130F43#0C092A#050411

Tints of #786FDF

#8279E2#8E86E4#9992E7#A59FEA#B5B0EE#C0BCF0#CCC9F3#D8D5F6#E4E2F9#EFEEFB

Tones of #786FDF

#7D75D7#847DCF#8A85C7#928EBE#9896B6#9F9EAE

Color harmonies

Complementary — #D5DF6D:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.09:1 AA large only
Against black text5.14:1 AA

Best text color on #786FDF: #000000.

Semi-transparent (opacity) text on #786FDF

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:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #786FDF: ·

How #786FDF looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #7474C4Deuteranopia · #7575BDTritanopia · #78AFAA

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:

Tailwind indigo 500 · #6366F1Tailwind violet 500 · #8B5CF6Tailwind violet 600 · #7C3AED

Palettes with a similar color

These palettes use a close neighbour of #786FDF rather than the exact color:

Honey Monsoon
#7373DD · #A260D1 · #8E297D · #C4365A
Dreamy Ruby Lagoon
#225795 · #3652D1 · #7468DD · #BDA1EA
Palette E4fbff
#E4FBFF · #B8B5FF · #7868E6 · #EDEEF7
Rustic Ruby Drift
#6AABF1 · #7A6DEA · #8419B5 · #B81C8F
Dreamy Petal
#1A2EAF · #7468E8 · #CCB51E · #EFECB4
Palette 7071e8
#7071E8 · #C683D7 · #ED9ED6 · #FFC7C7

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#7373DD#7468DD#7868E6#7A6DEA#7468E8#7071E8#7275D5#7579E7#8571DE#856CE5#8075D3#7360DF

Browse neighbouring colors

← #786FDE  ·  #786FE0 →

Frequently asked questions

What color is #786FDF?

#786FDF is Blue, a blue color (RGB 120, 111, 223). Its closest standard named color is SlateBlue.

What is the RGB and HSL of #786FDF?

#786FDF is RGB 120, 111, 223 — HSL 245°, 64%, 65% — CMYK 46%, 50%, 0%, 13%.

What colors go with #786FDF?

Its complement is #D5DF6D; analogous partners are #6D9CDF and #AF6DDF. It also appears in 6+ palettes in our collection.

Can I use #786FDF for text?

Black text on #786FDF has a contrast ratio of 5.14:1 (passes WCAG AA); white text gives 4.09:1.