Maroon Colors  ·  Color Library

Palettes / Colors / #2E52EF

#2E52EF — Vivid Blue

#2E52EF is a blue color we call Vivid 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 #2E52EF 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.

#2E52EF 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 #EFCC2E; it also sits naturally between #2EB2EF and #6B2EEF. In the palettes below you can see it working alongside real color combinations from our collection.

#2E52EF · RGB 46, 82, 239

Download PNG swatch SVG

Color values

HEX#2E52EF
RGB46, 82, 239
HSL229°, 86%, 56%
HSV229°, 81%, 94%
CMYK81%, 66%, 0%, 6%
XYZ19.72, 12.85, 83.10
Yxy12.85, 0.1705, 0.1111
CIE-Lab42.53, 43.73, -81.86
Hunter Lab35.84, 38.01, -118.72

RGB & CMYK percentages

Red 18% · Green 32% · Blue 94%

Cyan 81% · Magenta 66% · Yellow 0% · Key 6%

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

Previews

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

CSS code for #2E52EF

.text { color: #2E52EF; }
.background { background-color: #2E52EF; }
.border { border: 3px solid #2E52EF; }
.text-rgb { color: rgb(46, 82, 239); }
.text-hsl { color: hsl(229, 86%, 56%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2E52EF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(46, 82, 239, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2E52EF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(46, 82, 239, 0.8); }

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

Shades of #2E52EF

#173EEE#1035DA#0E2EBE#0C29A6#0B238E#091D77#07175F#051042#030A2B#010513

Tints of #2E52EF

#4161F1#5471F2#6781F4#7A91F5#8DA0F6#A0B0F8#B3C0F9#C6D0FB#D9DFFC#ECEFFE

Tones of #2E52EF

#3C5AE2#4A63D3#586CC6#6575B8#737DAB#81869C

Color harmonies

Complementary — #EFCC2E:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #2E52EF: #FFFFFF.

Semi-transparent (opacity) text on #2E52EF

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 #2E52EF: ·

How #2E52EF looks with color blindness

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

Protanopia · #3E3EC9Deuteranopia · #3C39C0Tritanopia · #30ABA4

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 600 · #2563EBTailwind indigo 600 · #4F46E5Bootstrap primary · #0D6EFD

Palettes with a similar color

These palettes use a close neighbour of #2E52EF rather than the exact color:

Lucky Ruby Ember
#BFA815 · #ECE24F · #2F49E8 · #9997ED
Gentle Aurora
#3151E3 · #2E1A95 · #831CE6 · #63186F
Misty Ruby Meadow
#72BEED · #3153E2 · #522BD0 · #B961E5
Royal Ruby Tempest
#243868 · #306CA5 · #2A5AE5 · #A1DCEF
Velvet Bloom
#3B0B0C · #92F717 · #3A55FA · #A823F8
Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4

Similar colors

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

#2F49E8#3151E3#3153E2#2A5AE5#3A55FA#235EE8#3559E0#214DE3#1E5AEA#3B4DE2#395EF9#1B4EF5

Browse neighbouring colors

← #2E52EE  ·  #2E52F0 →

Frequently asked questions

What color is #2E52EF?

#2E52EF is Vivid Blue, a blue color (RGB 46, 82, 239). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #2E52EF?

#2E52EF is RGB 46, 82, 239 — HSL 229°, 86%, 56% — CMYK 81%, 66%, 0%, 6%.

What colors go with #2E52EF?

Its complement is #EFCC2E; analogous partners are #2EB2EF and #6B2EEF. It also appears in 6+ palettes in our collection.

Can I use #2E52EF for text?

White text on #2E52EF has a contrast ratio of 5.88:1 (passes WCAG AA); black text gives 3.57:1.