Maroon Colors  ·  Color Library

Palettes / Colors / #334EFD

#334EFD — Vivid Blue

#334EFD 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 #334EFD 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.

#334EFD 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 #FDE235; it also sits naturally between #35B4FD and #7E35FD. In the palettes below you can see it working alongside real color combinations from our collection.

#334EFD · RGB 51, 78, 253

Download PNG swatch SVG

Color values

HEX#334EFD
RGB51, 78, 253
HSL232°, 98%, 60%
HSV232°, 80%, 99%
CMYK80%, 69%, 0%, 1%
XYZ21.82, 13.24, 94.33
Yxy13.24, 0.1686, 0.1024
CIE-Lab43.13, 51.28, -88.72
Hunter Lab36.39, 45.99, -135.20

RGB & CMYK percentages

Red 20% · Green 31% · Blue 99%

Cyan 80% · Magenta 69% · Yellow 0% · Key 1%

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

Previews

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

CSS code for #334EFD

.text { color: #334EFD; }
.background { background-color: #334EFD; }
.border { border: 3px solid #334EFD; }
.text-rgb { color: rgb(51, 78, 253); }
.text-hsl { color: hsl(232, 98%, 60%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #334EFD; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 78, 253, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #334EFD; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 78, 253, 0.8); }

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

Shades of #334EFD

#1735FD#0223F7#021FD9#021BC0#0217A2#011383#010F6A#010B4C#010732#000314

Tints of #334EFD

#4961FD#586EFD#6D80FE#7C8DFE#909FFE#A4B0FE#B3BDFE#C7CFFE#D7DCFF#EBEDFF

Tones of #334EFD

#435AEF#5265E0#606FD2#6E7AC4#7C84B6#8B8FA7

Color harmonies

Complementary — #FDE235:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.76:1 AA
Against black text3.65:1 AA large only

Best text color on #334EFD: #FFFFFF.

Semi-transparent (opacity) text on #334EFD

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 #334EFD: ·

How #334EFD looks with color blindness

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

Protanopia · #3F3FD3Deuteranopia · #3D3BC9Tritanopia · #34B1AA

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 #334EFD rather than the exact color:

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

Similar colors

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

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

Browse neighbouring colors

← #334EFC  ·  #334EFE →

Frequently asked questions

What color is #334EFD?

#334EFD is Vivid Blue, a blue color (RGB 51, 78, 253). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #334EFD?

#334EFD is RGB 51, 78, 253 — HSL 232°, 98%, 60% — CMYK 80%, 69%, 0%, 1%.

What colors go with #334EFD?

Its complement is #FDE235; analogous partners are #35B4FD and #7E35FD. It also appears in 6+ palettes in our collection.

Can I use #334EFD for text?

White text on #334EFD has a contrast ratio of 5.76:1 (passes WCAG AA); black text gives 3.65:1.