Maroon Colors  ·  Color Library

Palettes / Colors / #5259D8

#5259D8 — Blue

#5259D8 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 #5259D8 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.

#5259D8 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 #D7D150; it also sits naturally between #509BD7 and #8D50D7. In the palettes below you can see it working alongside real color combinations from our collection.

#5259D8 · RGB 82, 89, 216

Download PNG swatch SVG

Color values

HEX#5259D8
RGB82, 89, 216
HSL237°, 63%, 58%
HSV237°, 62%, 85%
CMYK62%, 59%, 0%, 15%
XYZ19.45, 13.90, 66.62
Yxy13.90, 0.1945, 0.1390
CIE-Lab44.08, 35.64, -66.20
Hunter Lab37.28, 30.35, -85.05

RGB & CMYK percentages

Red 32% · Green 35% · Blue 85%

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

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

Previews

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

CSS code for #5259D8

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

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

Shades of #5259D8

#3C43D3#2C34C3#282EAF#222896#1D2281#191D6C#131653#0E113E#080A25#040411

Tints of #5259D8

#6167DB#7277DF#7E83E2#8F93E6#9FA3E9#B0B3ED#C1C3F1#CDCFF4#DEDFF7#EEEFFB

Tones of #5259D8

#5A60CE#6469C4#6D71BA#777AB1#8183A7#8A8B9E

Color harmonies

Complementary — #D7D150:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.56:1 AA
Against black text3.78:1 AA large only

Best text color on #5259D8: #FFFFFF.

Semi-transparent (opacity) text on #5259D8

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

How #5259D8 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 · #5554B2Tritanopia · #52A19C

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 #5259D8 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#4559D7#5962D1#5553E4#4A62DF#4F4BD8#5361CC

Browse neighbouring colors

← #5259D7  ·  #5259D9 →

Frequently asked questions

What color is #5259D8?

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

What is the RGB and HSL of #5259D8?

#5259D8 is RGB 82, 89, 216 — HSL 237°, 63%, 58% — CMYK 62%, 59%, 0%, 15%.

What colors go with #5259D8?

Its complement is #D7D150; analogous partners are #509BD7 and #8D50D7. It also appears in 6+ palettes in our collection.

Can I use #5259D8 for text?

White text on #5259D8 has a contrast ratio of 5.56:1 (passes WCAG AA); black text gives 3.78:1.