Maroon Colors  ·  Color Library

Palettes / Colors / #562DFB

#562DFB — Vivid Blue

#562DFB is a blue color we call Vivid Blue, closest to the named color BlueViolet (#8A2BE2). It belongs to the blue family.

Color name

Closest CSS keyword: blueviolet (#8A2BE2) — not an exact match. CSS blueviolet gives you #8A2BE2, a different color; use #562DFB 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.

#562DFB 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 #D2FB2D; it also sits naturally between #2D6BFB and #BD2DFB. In the palettes below you can see it working alongside real color combinations from our collection.

#562DFB · RGB 86, 45, 251

Download PNG swatch SVG

Color values

HEX#562DFB
RGB86, 45, 251
HSL252°, 96%, 58%
HSV252°, 82%, 98%
CMYK66%, 82%, 0%, 2%
XYZ22.19, 10.82, 92.19
Yxy10.82, 0.1772, 0.0864
CIE-Lab39.28, 69.61, -93.90
Hunter Lab32.89, 65.63, -150.50

RGB & CMYK percentages

Red 34% · Green 18% · Blue 98%

Cyan 66% · Magenta 82% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #562DFB

.text { color: #562DFB; }
.background { background-color: #562DFB; }
.border { border: 3px solid #562DFB; }
.text-rgb { color: rgb(86, 45, 251); }
.text-hsl { color: hsl(252, 96%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #562DFB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(86, 45, 251, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #562DFB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(86, 45, 251, 0.8); }

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

Shades of #562DFB

#4214FA#3305EB#2D04D2#2704B4#22039B#1C0382#160264#10024B#0A012D#040014

Tints of #562DFB

#6641FB#7655FC#8264FC#9278FC#A38CFD#B3A0FD#C3B4FD#CFC3FE#DFD7FE#EFEBFF

Tones of #562DFB

#5F3CEC#684ADE#7159CF#7A68C0#8377B1#8B85A3

Color harmonies

Complementary — #D2FB2D:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.64:1 AA
Against black text3.16:1 AA large only

Best text color on #562DFB: #FFFFFF.

Semi-transparent (opacity) text on #562DFB

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 #562DFB: ·

How #562DFB looks with color blindness

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

Protanopia · #4444C9Deuteranopia · #474ABDTritanopia · #54A299

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 600 · #4F46E5Tailwind violet 600 · #7C3AEDTailwind indigo 500 · #6366F1

Palettes with a similar color

These palettes use a close neighbour of #562DFB rather than the exact color:

Rustic Summit
#0C1E19 · #5629FB · #BDFC1F · #FA4AEC
Dreamy Ruby Opal
#0C322C · #FBB14E · #F734BD · #5F2CFF
Lucky Harbor
#0B3518 · #FA461D · #2EA0FA · #5737FD
Golden Ruby Garden
#0C240E · #8036FA · #41DCFF · #4C2DFF
Palette 362f4f
#362F4F · #5B23FF · #008BFF · #E4FF30
Velvet Orchard
#2C101C · #37FC7E · #517FF8 · #5F24F6

Similar colors

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

#5629FB#5F2CFF#5737FD#4C2DFF#5B23FF#5F24F6#482FF7#503BFD#6335FD#5835EE#4636FC#6439FF

Browse neighbouring colors

← #562DFA  ·  #562DFC →

Frequently asked questions

What color is #562DFB?

#562DFB is Vivid Blue, a blue color (RGB 86, 45, 251). Its closest standard named color is BlueViolet.

What is the RGB and HSL of #562DFB?

#562DFB is RGB 86, 45, 251 — HSL 252°, 96%, 58% — CMYK 66%, 82%, 0%, 2%.

What colors go with #562DFB?

Its complement is #D2FB2D; analogous partners are #2D6BFB and #BD2DFB. It also appears in 6+ palettes in our collection.

Can I use #562DFB for text?

White text on #562DFB has a contrast ratio of 6.64:1 (passes WCAG AA); black text gives 3.16:1.