Maroon Colors  ·  Color Library

Palettes / Colors / #2F4EFE

#2F4EFE — Vivid Blue

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

#2F4EFE 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 #FEDF2F; it also sits naturally between #2FB6FE and #772FFE. In the palettes below you can see it working alongside real color combinations from our collection.

#2F4EFE · RGB 47, 78, 254

Download PNG swatch SVG

Color values

HEX#2F4EFE
RGB47, 78, 254
HSL231°, 99%, 59%
HSV231°, 81%, 100%
CMYK81%, 69%, 0%, 0%
XYZ21.79, 13.21, 95.17
Yxy13.21, 0.1674, 0.1015
CIE-Lab43.08, 51.36, -89.37
Hunter Lab36.34, 46.06, -136.86

RGB & CMYK percentages

Red 18% · Green 31% · Blue 100%

Cyan 81% · Magenta 69% · Yellow 0% · Key 0%

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

Previews

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

CSS code for #2F4EFE

.text { color: #2F4EFE; }
.background { background-color: #2F4EFE; }
.border { border: 3px solid #2F4EFE; }
.text-rgb { color: rgb(47, 78, 254); }
.text-hsl { color: hsl(231, 99%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2F4EFE; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(47, 78, 254, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2F4EFE; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(47, 78, 254, 0.8); }

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

Shades of #2F4EFE

#1638FE#0126F4#0122DA#011DBC#0119A2#011484#01106B#000C4C#000833#000314

Tints of #2F4EFE

#435FFE#526CFE#677DFE#7B8FFE#8FA0FE#9FADFF#B3BEFF#C7D0FF#D6DCFF#EBEEFF

Tones of #2F4EFE

#3E58EF#4C62E1#5B6DD2#6B78C2#7982B4#888CA5

Color harmonies

Complementary — #FEDF2F:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #2F4EFE: #FFFFFF.

Semi-transparent (opacity) text on #2F4EFE

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

How #2F4EFE looks with color blindness

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

Protanopia · #3C3DD3Deuteranopia · #3B38C9Tritanopia · #31B2AA

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 #2F4EFE rather than the exact color:

Velvet Bloom
#3B0B0C · #92F717 · #3A55FA · #A823F8
Smoky Petal
#1C0811 · #5CF83B · #3942FE · #20CAFB
Misty Ruby Drift
#24160D · #CC2FF8 · #395EF9 · #9A1CFD
Palette 1b4ef5
#1B4EF5 · #3874FF · #5996FF · #F4CEFF
Crimson Garden
#2B091E · #20FA67 · #4347F8 · #CEFB3E
Lucky Ruby Ember
#BFA815 · #ECE24F · #2F49E8 · #9997ED

Similar colors

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

#3A55FA#3942FE#395EF9#1B4EF5#4347F8#2F49E8#3636FD#2264FE#3D3BF3#3368FC#3E64FF#3151E3

Browse neighbouring colors

← #2F4EFD  ·  #2F4EFF →

Frequently asked questions

What color is #2F4EFE?

#2F4EFE is Vivid Blue, a blue color (RGB 47, 78, 254). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #2F4EFE?

#2F4EFE is RGB 47, 78, 254 — HSL 231°, 99%, 59% — CMYK 81%, 69%, 0%, 0%.

What colors go with #2F4EFE?

Its complement is #FEDF2F; analogous partners are #2FB6FE and #772FFE. It also appears in 6+ palettes in our collection.

Can I use #2F4EFE for text?

White text on #2F4EFE has a contrast ratio of 5.77:1 (passes WCAG AA); black text gives 3.64:1.