Maroon Colors  ·  Color Library

Palettes / Colors / #5791EF

#5791EF — Vivid Blue

#5791EF is a blue color we call Vivid Blue, closest to the named color CornflowerBlue (#6495ED). It belongs to the blue family.

Color name

Closest CSS keyword: cornflowerblue (#6495ED) — not an exact match. CSS cornflowerblue gives you #6495ED, a different color; use #5791EF 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.

#5791EF 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 #EFB557; it also sits naturally between #57DEEF and #6957EF. In the palettes below you can see it working alongside real color combinations from our collection.

#5791EF · RGB 87, 145, 239

Download PNG swatch SVG

Color values

HEX#5791EF
RGB87, 145, 239
HSL217°, 83%, 64%
HSV217°, 64%, 94%
CMYK64%, 39%, 0%, 6%
XYZ29.64, 28.51, 85.60
Yxy28.51, 0.2062, 0.1983
CIE-Lab60.35, 9.97, -52.96
Hunter Lab53.39, 8.62, -62.91

RGB & CMYK percentages

Red 34% · Green 57% · Blue 94%

Cyan 64% · Magenta 39% · Yellow 0% · Key 6%

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

Previews

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

CSS code for #5791EF

.text { color: #5791EF; }
.background { background-color: #5791EF; }
.border { border: 3px solid #5791EF; }
.text-rgb { color: rgb(87, 145, 239); }
.text-hsl { color: hsl(217, 83%, 64%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #5791EF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(87, 145, 239, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #5791EF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(87, 145, 239, 0.8); }

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

Shades of #5791EF

#3B7FED#1F6DEA#145FD7#1152BB#0F469F#0C3A83#0A2D67#07214B#04152F#020813

Tints of #5791EF

#659BF1#73A4F2#86B0F4#94B9F5#A2C2F6#B0CBF8#BED4F9#D0E1FB#DEEAFC#ECF3FD

Tones of #5791EF

#6294E4#6D97D9#7899CE#829BC4#8D9EB9#98A1AE

Color harmonies

Complementary — #EFB557:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.13:1 AA large only
Against black text6.70:1 AA

Best text color on #5791EF: #000000.

Semi-transparent (opacity) text on #5791EF

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 #5791EF: ·

How #5791EF looks with color blindness

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

Protanopia · #7071D8Deuteranopia · #6D68D3Tritanopia · #5AC6C2

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 blue 500 · #3B82F6Tailwind indigo 500 · #6366F1Material Blue 500 · #2196F3

Palettes with a similar color

These palettes use a close neighbour of #5791EF rather than the exact color:

Ruby Monsoon
#2373F4 · #578EF5 · #65D0F4 · #F2F7A0
Dusty Cinder
#8F600C · #EFD448 · #5089F0 · #A1B8F1
Golden Ruby Meadow
#10A287 · #35C2E0 · #589CEC · #1323C7
Wild Voyage
#C68A18 · #E7B737 · #5387EA · #B2C0F1
Gentle Garden
#1136C9 · #5E86F1 · #EFCC41 · #F2F0A6
Palette E7cea6
#E7CEA6 · #0A6EBD · #5A96E3 · #A1C2F1

Similar colors

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

#578EF5#5089F0#589CEC#5387EA#5E86F1#5A96E3#5B9BE7#5A99E4#4C8CE4#6499E9#5F9DF7#5882E8

Browse neighbouring colors

← #5791EE  ·  #5791F0 →

Frequently asked questions

What color is #5791EF?

#5791EF is Vivid Blue, a blue color (RGB 87, 145, 239). Its closest standard named color is CornflowerBlue.

What is the RGB and HSL of #5791EF?

#5791EF is RGB 87, 145, 239 — HSL 217°, 83%, 64% — CMYK 64%, 39%, 0%, 6%.

What colors go with #5791EF?

Its complement is #EFB557; analogous partners are #57DEEF and #6957EF. It also appears in 6+ palettes in our collection.

Can I use #5791EF for text?

Black text on #5791EF has a contrast ratio of 6.70:1 (passes WCAG AA); white text gives 3.13:1.