Maroon Colors  ·  Color Library

Palettes / Colors / #334EFF

#334EFF — Vivid Blue

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

#334EFF 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 #FFE433; it also sits naturally between #33B4FF and #7E33FF. In the palettes below you can see it working alongside real color combinations from our collection.

#334EFF · RGB 51, 78, 255

Download PNG swatch SVG

Color values

HEX#334EFF
RGB51, 78, 255
HSL232°, 100%, 60%
HSV232°, 80%, 100%
CMYK80%, 69%, 0%, 0%
XYZ22.14, 13.37, 96.02
Yxy13.37, 0.1683, 0.1017
CIE-Lab43.32, 51.96, -89.52
Hunter Lab36.57, 46.76, -137.15

RGB & CMYK percentages

Red 20% · Green 31% · Blue 100%

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

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

Previews

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

CSS code for #334EFF

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

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

Shades of #334EFF

#1434FF#0021FA#001DDB#001AC2#0016A3#001285#000E6B#000A4D#000733#000314

Tints of #334EFF

#4760FF#576DFF#6B7FFF#7A8CFF#8F9EFF#A3AFFF#B3BDFF#C7CEFF#D6DCFF#EBEDFF

Tones of #334EFF

#4159F1#5164E1#5F6ED3#6D79C5#7B83B7#8B8FA7

Color harmonies

Complementary — #FFE433:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.72:1 AA
Against black text3.67:1 AA large only

Best text color on #334EFF: #FFFFFF.

Semi-transparent (opacity) text on #334EFF

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

How #334EFF looks with color blindness

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

Protanopia · #3F3FD4Deuteranopia · #3D3BCATritanopia · #34B2AB

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 #334EFF 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
Electric Ruby Mirage
#0E1A09 · #FC445C · #3636FD · #4A70FE

Similar colors

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

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

Browse neighbouring colors

← #334EFE  ·  #334F00 →

Frequently asked questions

What color is #334EFF?

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

What is the RGB and HSL of #334EFF?

#334EFF is RGB 51, 78, 255 — HSL 232°, 100%, 60% — CMYK 80%, 69%, 0%, 0%.

What colors go with #334EFF?

Its complement is #FFE433; analogous partners are #33B4FF and #7E33FF. It also appears in 6+ palettes in our collection.

Can I use #334EFF for text?

White text on #334EFF has a contrast ratio of 5.72:1 (passes WCAG AA); black text gives 3.67:1.