Maroon Colors  ·  Color Library

Palettes / Colors / #2E56CC

#2E56CC — Blue

#2E56CC 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 #2E56CC 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.

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

#2E56CC · RGB 46, 86, 204

Download PNG swatch SVG

Color values

HEX#2E56CC
RGB46, 86, 204
HSL225°, 63%, 49%
HSV225°, 77%, 80%
CMYK77%, 58%, 0%, 20%
XYZ15.35, 11.60, 58.56
Yxy11.60, 0.1796, 0.1356
CIE-Lab40.57, 28.49, -65.11
Hunter Lab34.05, 23.07, -83.04

RGB & CMYK percentages

Red 18% · Green 34% · Blue 80%

Cyan 77% · Magenta 58% · Yellow 0% · Key 20%

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

Previews

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

CSS code for #2E56CC

.text { color: #2E56CC; }
.background { background-color: #2E56CC; }
.border { border: 3px solid #2E56CC; }
.text-rgb { color: rgb(46, 86, 204); }
.text-hsl { color: hsl(225, 63%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2E56CC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(46, 86, 204, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2E56CC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(46, 86, 204, 0.8); }

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

Shades of #2E56CC

#2A4FBB#2646A6#223F96#1D3681#192F70#15265B#111F4B#0C1736#081025#040711

Tints of #2E56CC

#4065D4#5072D7#6583DC#7A94E1#8FA4E6#9FB2E9#B4C3EE#C9D3F3#DAE1F7#EEF2FB

Tones of #2E56CC

#395BC0#4561B5#5066AA#5B6C9F#667293#727788

Color harmonies

Complementary — #CCA42E:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.33:1 AA
Against black text3.32:1 AA large only

Best text color on #2E56CC: #FFFFFF.

Semi-transparent (opacity) text on #2E56CC

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

How #2E56CC looks with color blindness

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

Protanopia · #3F40AFDeuteranopia · #3D3AA9Tritanopia · #309994

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:

Material Indigo 500 · #3F51B5Tailwind blue 600 · #2563EBTailwind indigo 600 · #4F46E5

Palettes with a similar color

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

Cosmic Whisper
#2D50C6 · #472D96 · #9A30C2 · #BE30A1
Velvet Ruby Dusk
#48A929 · #2F53C3 · #D55272 · #D0EAC6
Dreamy Ruby Lagoon
#225795 · #3652D1 · #7468DD · #BDA1EA
Amber Ruby Petal
#B32153 · #55B722 · #265ECA · #E6ACC4
Lucky Bloom
#2BC16B · #309D90 · #4AADDD · #2B52D8
Hidden Bloom
#3951C5 · #472BCA · #3E1365 · #751C83

Similar colors

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

#2D50C6#2F53C3#3652D1#265ECA#2B52D8#3951C5#3B59C5#3364C9#2853BE#254BC4#2D62C0#2665CD

Browse neighbouring colors

← #2E56CB  ·  #2E56CD →

Frequently asked questions

What color is #2E56CC?

#2E56CC is Blue, a blue color (RGB 46, 86, 204). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #2E56CC?

#2E56CC is RGB 46, 86, 204 — HSL 225°, 63%, 49% — CMYK 77%, 58%, 0%, 20%.

What colors go with #2E56CC?

Its complement is #CCA42E; analogous partners are #2EA4CC and #562ECC. It also appears in 6+ palettes in our collection.

Can I use #2E56CC for text?

White text on #2E56CC has a contrast ratio of 6.33:1 (passes WCAG AA); black text gives 3.32:1.