Maroon Colors  ·  Color Library

Palettes / Colors / #2F7EFE

#2F7EFE — Vivid Blue

#2F7EFE is a blue color we call Vivid Blue, closest to the named color DodgerBlue (#1E90FF). It belongs to the blue family.

Color name

Closest CSS keyword: dodgerblue (#1E90FF) — not an exact match. CSS dodgerblue gives you #1E90FF, a different color; use #2F7EFE 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.

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

#2F7EFE · RGB 47, 126, 254

Download PNG swatch SVG

Color values

HEX#2F7EFE
RGB47, 126, 254
HSL217°, 99%, 59%
HSV217°, 81%, 100%
CMYK81%, 50%, 0%, 0%
XYZ26.52, 22.68, 96.75
Yxy22.68, 0.1817, 0.1554
CIE-Lab54.74, 21.81, -70.30
Hunter Lab47.63, 18.90, -93.14

RGB & CMYK percentages

Red 18% · Green 49% · Blue 100%

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

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

Previews

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

CSS code for #2F7EFE

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

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

Shades of #2F7EFE

#166FFE#015EF4#0154DA#0149BC#013FA2#013384#01296B#001D4C#001433#000814

Tints of #2F7EFE

#438BFE#5294FE#67A1FE#7BADFE#8FBAFE#9FC3FF#B3D0FF#C7DCFF#D6E6FF#EBF2FF

Tones of #2F7EFE

#3E82EF#4C85E1#5B89D2#6B8CC2#7990B4#8893A5

Color harmonies

Complementary — #FEAF2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.79:1 AA large only
Against black text5.54:1 AA

Best text color on #2F7EFE: #000000.

Semi-transparent (opacity) text on #2F7EFE

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

How #2F7EFE looks with color blindness

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

Protanopia · #5152DFDeuteranopia · #4D47D8Tritanopia · #33C7C1

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 500 · #3B82F6Material Blue 500 · #2196F3Tailwind blue 600 · #2563EB

Palettes with a similar color

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

Palette 1b4ef5
#1B4EF5 · #3874FF · #5996FF · #F4CEFF
Palette 3a86ff
#3A86FF · #BDB2FF · #FFD6E0 · #FFF4F4
Royal Whisper
#0A1C12 · #F82177 · #F8E033 · #2D6FFA
Ruby Monsoon
#2373F4 · #578EF5 · #65D0F4 · #F2F7A0
Palette 050c9c
#050C9C · #3572EF · #3ABEF9 · #A7E6FF
Gentle Breeze
#16071A · #37F855 · #437DFA · #359EF8

Similar colors

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

#3874FF#3A86FF#2D6FFA#2373F4#3572EF#437DFA#1C87FD#4172FD#2F7EE8#3368FC#2391FF#398BEE

Browse neighbouring colors

← #2F7EFD  ·  #2F7EFF →

Frequently asked questions

What color is #2F7EFE?

#2F7EFE is Vivid Blue, a blue color (RGB 47, 126, 254). Its closest standard named color is DodgerBlue.

What is the RGB and HSL of #2F7EFE?

#2F7EFE is RGB 47, 126, 254 — HSL 217°, 99%, 59% — CMYK 81%, 50%, 0%, 0%.

What colors go with #2F7EFE?

Its complement is #FEAF2F; analogous partners are #2FE6FE and #472FFE. It also appears in 6+ palettes in our collection.

Can I use #2F7EFE for text?

Black text on #2F7EFE has a contrast ratio of 5.54:1 (passes WCAG AA); white text gives 3.79:1.