Maroon Colors  ·  Color Library

Palettes / Colors / #333AFA

#333AFA — Vivid Blue

#333AFA 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 #333AFA 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.

#333AFA 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 #FAF333; it also sits naturally between #339DFA and #9033FA. In the palettes below you can see it working alongside real color combinations from our collection.

#333AFA · RGB 51, 58, 250

Download PNG swatch SVG

Color values

HEX#333AFA
RGB51, 58, 250
HSL238°, 95%, 59%
HSV238°, 80%, 98%
CMYK80%, 77%, 0%, 2%
XYZ20.13, 10.63, 91.43
Yxy10.63, 0.1648, 0.0870
CIE-Lab38.95, 61.19, -93.94
Hunter Lab32.61, 55.77, -150.79

RGB & CMYK percentages

Red 20% · Green 23% · Blue 98%

Cyan 80% · Magenta 77% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #333AFA

.text { color: #333AFA; }
.background { background-color: #333AFA; }
.border { border: 3px solid #333AFA; }
.text-rgb { color: rgb(51, 58, 250); }
.text-hsl { color: hsl(238, 95%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #333AFA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 58, 250, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #333AFA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 58, 250, 0.8); }

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

Shades of #333AFA

#1A22F9#060EEF#050CD6#050BB8#04099F#030881#030668#02044B#010332#010114

Tints of #333AFA

#474DFA#565BFB#6A6FFB#7E82FC#9295FC#A1A4FD#B4B7FD#C8CAFE#D7D9FE#EBECFE

Tones of #333AFA

#4247EB#4F54DE#5E62CF#6C6EC1#7A7CB3#8889A5

Color harmonies

Complementary — #FAF333:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.72:1 AA
Against black text3.13:1 AA large only

Best text color on #333AFA: #FFFFFF.

Semi-transparent (opacity) text on #333AFA

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 #333AFA: ·

How #333AFA looks with color blindness

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

Protanopia · #3636CCDeuteranopia · #3635C0Tritanopia · #33A79F

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 · #4F46E5Tailwind blue 600 · #2563EBBootstrap primary · #0D6EFD

Palettes with a similar color

These palettes use a close neighbour of #333AFA rather than the exact color:

Electric Ruby Mirage
#0E1A09 · #FC445C · #3636FD · #4A70FE
Smoky Petal
#1C0811 · #5CF83B · #3942FE · #20CAFB
Palette Ebeaff
#EBEAFF · #9694FF · #3D3BF3 · #FF2929
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0
Electric Mirage
#261F0B · #262DFE · #FA39AE · #6B21FB
Palette Aee1fc
#AEE1FC · #60ABFB · #5170FD · #4636FC

Similar colors

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

#3636FD#3942FE#3D3BF3#3534EA#262DFE#4636FC#2B28F8#4347F8#402DEE#3F39E7#2F49E8#482FF7

Browse neighbouring colors

← #333AF9  ·  #333AFB →

Frequently asked questions

What color is #333AFA?

#333AFA is Vivid Blue, a blue color (RGB 51, 58, 250). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #333AFA?

#333AFA is RGB 51, 58, 250 — HSL 238°, 95%, 59% — CMYK 80%, 77%, 0%, 2%.

What colors go with #333AFA?

Its complement is #FAF333; analogous partners are #339DFA and #9033FA. It also appears in 6+ palettes in our collection.

Can I use #333AFA for text?

White text on #333AFA has a contrast ratio of 6.72:1 (passes WCAG AA); black text gives 3.13:1.