Maroon Colors  ·  Color Library

Palettes / Colors / #5259D7

#5259D7 — Blue

#5259D7 is a blue color we call Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.

Color name

Closest CSS keyword: royalblue (#4169E1) — not an exact match. CSS royalblue gives you #4169E1, a different color; use #5259D7 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.

#5259D7 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 #D6D051; it also sits naturally between #519BD6 and #8D51D6. In the palettes below you can see it working alongside real color combinations from our collection.

#5259D7 · RGB 82, 89, 215

Download PNG swatch SVG

Color values

HEX#5259D7
RGB82, 89, 215
HSL237°, 62%, 58%
HSV237°, 62%, 84%
CMYK62%, 59%, 0%, 16%
XYZ19.32, 13.84, 65.94
Yxy13.84, 0.1949, 0.1397
CIE-Lab44.01, 35.31, -65.75
Hunter Lab37.21, 30.01, -84.17

RGB & CMYK percentages

Red 32% · Green 35% · Blue 84%

Cyan 62% · Magenta 59% · Yellow 0% · Key 16%

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

Previews

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

CSS code for #5259D7

.text { color: #5259D7; }
.background { background-color: #5259D7; }
.border { border: 3px solid #5259D7; }
.text-rgb { color: rgb(82, 89, 215); }
.text-hsl { color: hsl(237, 62%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #5259D7; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(82, 89, 215, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #5259D7; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(82, 89, 215, 0.8); }

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

Shades of #5259D7

#3D44D1#2E35C2#292FAE#232995#1E2380#191D6B#131753#0F113E#090A25#040511

Tints of #5259D7

#6268DA#7378DE#7F84E1#8F94E5#A0A4E9#B1B4ED#C1C3F0#CDCFF3#DEDFF7#EEEFFB

Tones of #5259D7

#5B61CD#6569C3#6E72B9#777AB1#8183A7#8A8B9E

Color harmonies

Complementary — #D6D051:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.57:1 AA
Against black text3.77:1 AA large only

Best text color on #5259D7: #FFFFFF.

Semi-transparent (opacity) text on #5259D7

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 #5259D7: ·

How #5259D7 looks with color blindness

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

Protanopia · #5555B9Deuteranopia · #5554B1Tritanopia · #52A09B

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 indigo 500 · #6366F1Material Indigo 500 · #3F51B5

Palettes with a similar color

These palettes use a close neighbour of #5259D7 rather than the exact color:

Tender Harbor
#5252D9 · #8359DE · #7E27B1 · #CD48D6
Burning Ruby Cinder
#3D1F94 · #5150DA · #9AC128 · #DCE7AD
Palette F4f754
#F4F754 · #E9D484 · #CFADC1 · #4E61D3
Misty Ruby Lagoon
#398EE6 · #5754E0 · #8A29DE · #E360DD
Royal Ruby Harbor
#B92221 · #25CD26 · #5959E1 · #E7AFB6
Scarlet Ruby Voyage
#7888E3 · #475DDB · #112073 · #101847

Similar colors

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

#5252D9#5150DA#4E61D3#5754E0#5959E1#475DDB#5962D1#4559D7#5361CC#4F4BD8#4963D2#4A62DF

Browse neighbouring colors

← #5259D6  ·  #5259D8 →

Frequently asked questions

What color is #5259D7?

#5259D7 is Blue, a blue color (RGB 82, 89, 215). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #5259D7?

#5259D7 is RGB 82, 89, 215 — HSL 237°, 62%, 58% — CMYK 62%, 59%, 0%, 16%.

What colors go with #5259D7?

Its complement is #D6D051; analogous partners are #519BD6 and #8D51D6. It also appears in 6+ palettes in our collection.

Can I use #5259D7 for text?

White text on #5259D7 has a contrast ratio of 5.57:1 (passes WCAG AA); black text gives 3.77:1.