Maroon Colors  ·  Color Library

Palettes / Colors / #2E2FDB

#2E2FDB — Blue

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

#2E2FDB 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 #DCDC2E; it also sits naturally between #2E85DC and #852EDC. In the palettes below you can see it working alongside real color combinations from our collection.

#2E2FDB · RGB 46, 47, 219

Download PNG swatch SVG

Color values

HEX#2E2FDB
RGB46, 47, 219
HSL240°, 71%, 52%
HSV240°, 79%, 86%
CMYK79%, 79%, 0%, 14%
XYZ14.93, 7.73, 67.72
Yxy7.73, 0.1652, 0.0855
CIE-Lab33.41, 56.80, -85.53
Hunter Lab27.80, 49.47, -131.35

RGB & CMYK percentages

Red 18% · Green 18% · Blue 86%

Cyan 79% · Magenta 79% · Yellow 0% · Key 14%

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

Previews

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

CSS code for #2E2FDB

.text { color: #2E2FDB; }
.background { background-color: #2E2FDB; }
.border { border: 3px solid #2E2FDB; }
.text-rgb { color: rgb(46, 47, 219); }
.text-hsl { color: hsl(240, 71%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2E2FDB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(46, 47, 219, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2E2FDB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(46, 47, 219, 0.8); }

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

Shades of #2E2FDB

#2323CD#1F1FB7#1C1CA6#181890#15157A#111164#0D0D4E#0A0A3D#070727#030311

Tints of #2E2FDB

#3F3FDE#5555E2#6666E5#7C7CE9#8E8EEC#9F9FEF#B5B5F2#C6C6F5#DCDCF9#EEEEFC

Tones of #2E2FDB

#3A3ACF#4646C3#5252B7#6060A9#6C6C9D#787891

Color harmonies

Complementary — #DCDC2E:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.25:1 AAA
Against black text2.55:1 Fails

Best text color on #2E2FDB: #FFFFFF.

Semi-transparent (opacity) text on #2E2FDB

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

How #2E2FDB looks with color blindness

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

Protanopia · #2E2EB1Deuteranopia · #2E2EA7Tritanopia · #2E9189

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 · #4F46E5Material Indigo 500 · #3F51B5Tailwind blue 600 · #2563EB

Palettes with a similar color

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

Palette 362fd9
#362FD9 · #1AACAC · #2E97A7 · #EEEEEE
Palette 2f2fe4
#2F2FE4 · #162E93 · #1A1953 · #080616
Amber Tempest
#499AE1 · #2835E2 · #7D3DDF · #D241EA
Frozen Ruby Dusk
#B11E1E · #1EB21E · #2726DB · #F2D2D2
Lucky Ruby Dusk
#288396 · #2B6CC5 · #2A2CD0 · #54279B
Palette 332fd0
#332FD0 · #9254C8 · #E15FED · #6EDCD9

Similar colors

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

#362FD9#2F2FE4#2835E2#2726DB#2A2CD0#332FD0#212FDE#2A31CE#2F26E7#252CE8#311FD6#3534EA

Browse neighbouring colors

← #2E2FDA  ·  #2E2FDC →

Frequently asked questions

What color is #2E2FDB?

#2E2FDB is Blue, a blue color (RGB 46, 47, 219). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #2E2FDB?

#2E2FDB is RGB 46, 47, 219 — HSL 240°, 71%, 52% — CMYK 79%, 79%, 0%, 14%.

What colors go with #2E2FDB?

Its complement is #DCDC2E; analogous partners are #2E85DC and #852EDC. It also appears in 6+ palettes in our collection.

Can I use #2E2FDB for text?

White text on #2E2FDB has a contrast ratio of 8.25:1 (passes WCAG AA); black text gives 2.55:1.