Maroon Colors  ·  Color Library

Palettes / Colors / #331AFD

#331AFD — Vivid Blue

#331AFD is a blue color we call Vivid Blue, closest to the named color Blue (#0000FF). It belongs to the blue family.

Color name

Closest CSS keyword: blue (#0000FF) — not an exact match. CSS blue gives you #0000FF, a different color; use #331AFD 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.

#331AFD 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 #E2FD1C; it also sits naturally between #1C72FD and #A61CFD. In the palettes below you can see it working alongside real color combinations from our collection.

#331AFD · RGB 51, 26, 253

Download PNG swatch SVG

Color values

HEX#331AFD
RGB51, 26, 253
HSL247°, 98%, 55%
HSV247°, 90%, 99%
CMYK80%, 90%, 0%, 1%
XYZ19.46, 8.53, 93.55
Yxy8.53, 0.1601, 0.0702
CIE-Lab35.07, 74.58, -102.08
Hunter Lab29.21, 70.47, -177.58

RGB & CMYK percentages

Red 20% · Green 10% · Blue 99%

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

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

Previews

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

CSS code for #331AFD

.text { color: #331AFD; }
.background { background-color: #331AFD; }
.border { border: 3px solid #331AFD; }
.text-rgb { color: rgb(51, 26, 253); }
.text-hsl { color: hsl(247, 98%, 55%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #331AFD; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 26, 253, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #331AFD; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 26, 253, 0.8); }

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

Shades of #331AFD

#2003FC#1D02E3#1902CA#1602B1#130297#0F0179#0C0160#090147#06002D#030014

Tints of #331AFD

#4830FD#5A44FD#6C58FD#7D6DFE#9486FE#A69AFE#B8AEFE#C9C2FE#DBD7FF#EDEBFF

Tones of #331AFD

#422CED#4F3CDD#5B4CCD#675CBC#746CAC#807C9C

Color harmonies

Complementary — #E2FD1C:

Analogous:

Triadic:

Contrast & accessibility

Against white text7.76:1 AAA
Against black text2.71:1 Fails

Best text color on #331AFD: #FFFFFF.

Semi-transparent (opacity) text on #331AFD

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 #331AFD: ·

How #331AFD looks with color blindness

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

Protanopia · #2828C6Deuteranopia · #2A2BB9Tritanopia · #329B91

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 · #2563EBTailwind violet 600 · #7C3AED

Palettes with a similar color

These palettes use a close neighbour of #331AFD rather than the exact color:

Crimson Monsoon
#1A0E0A · #3514FC · #5281F9 · #46FBDF
Cosmic Ruby Breeze
#330D15 · #DBF720 · #241AFC · #FAE119
Hidden Ruby Cinder
#153611 · #4116F9 · #14D8F9 · #F76329
Frozen Ruby Solace
#0D3820 · #FCF211 · #2B28F8 · #FB3D25
Cosmic Canyon
#2D0916 · #2312FE · #5749FB · #53FC7D
Scarlet Ruby Ember
#182610 · #1CFCE4 · #4813F9 · #6E1CFA

Similar colors

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

#3514FC#241AFC#4116F9#2B28F8#2312FE#4813F9#262DFE#411CEA#4B13FB#2F26E7#402DEE#3E25E6

Browse neighbouring colors

← #331AFC  ·  #331AFE →

Frequently asked questions

What color is #331AFD?

#331AFD is Vivid Blue, a blue color (RGB 51, 26, 253). Its closest standard named color is Blue.

What is the RGB and HSL of #331AFD?

#331AFD is RGB 51, 26, 253 — HSL 247°, 98%, 55% — CMYK 80%, 90%, 0%, 1%.

What colors go with #331AFD?

Its complement is #E2FD1C; analogous partners are #1C72FD and #A61CFD. It also appears in 6+ palettes in our collection.

Can I use #331AFD for text?

White text on #331AFD has a contrast ratio of 7.76:1 (passes WCAG AA); black text gives 2.71:1.