Maroon Colors  ·  Color Library

Palettes / Colors / #313FFA

#313FFA — Vivid Blue

#313FFA 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 #313FFA 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.

#313FFA 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 #FAED33; it also sits naturally between #33A4FA and #8933FA. In the palettes below you can see it working alongside real color combinations from our collection.

#313FFA · RGB 49, 63, 250

Download PNG swatch SVG

Color values

HEX#313FFA
RGB49, 63, 250
HSL236°, 95%, 59%
HSV236°, 80%, 98%
CMYK80%, 75%, 0%, 2%
XYZ20.30, 11.11, 91.52
Yxy11.11, 0.1651, 0.0904
CIE-Lab39.77, 58.50, -92.60
Hunter Lab33.33, 52.99, -146.70

RGB & CMYK percentages

Red 19% · Green 25% · Blue 98%

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

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

Previews

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

CSS code for #313FFA

.text { color: #313FFA; }
.background { background-color: #313FFA; }
.border { border: 3px solid #313FFA; }
.text-rgb { color: rgb(49, 63, 250); }
.text-hsl { color: hsl(236, 95%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #313FFA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(49, 63, 250, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #313FFA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(49, 63, 250, 0.8); }

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

Shades of #313FFA

#1A29F9#0616EF#0513D6#0511B8#040E9F#030C81#030968#02074B#010532#010214

Tints of #313FFA

#4753FA#5661FB#6A74FB#7E86FC#9299FC#A1A7FD#B4B9FD#C8CCFE#D7DAFE#EBECFE

Tones of #313FFA

#424DEB#4F59DE#5E66CF#6C71C1#7A7EB3#888AA5

Color harmonies

Complementary — #FAED33:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.52:1 AA
Against black text3.22:1 AA large only

Best text color on #313FFA: #FFFFFF.

Semi-transparent (opacity) text on #313FFA

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 #313FFA: ·

How #313FFA looks with color blindness

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

Protanopia · #3737CDDeuteranopia · #3635C2Tritanopia · #32A9A1

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 #313FFA rather than the exact color:

Smoky Petal
#1C0811 · #5CF83B · #3942FE · #20CAFB
Electric Ruby Mirage
#0E1A09 · #FC445C · #3636FD · #4A70FE
Palette Ebeaff
#EBEAFF · #9694FF · #3D3BF3 · #FF2929
Crimson Garden
#2B091E · #20FA67 · #4347F8 · #CEFB3E
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0
Lucky Ruby Ember
#BFA815 · #ECE24F · #2F49E8 · #9997ED

Similar colors

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

#3942FE#3636FD#3D3BF3#4347F8#3534EA#2F49E8#262DFE#4636FC#3A55FA#2B28F8#1C33FC#3F39E7

Browse neighbouring colors

← #313FF9  ·  #313FFB →

Frequently asked questions

What color is #313FFA?

#313FFA is Vivid Blue, a blue color (RGB 49, 63, 250). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #313FFA?

#313FFA is RGB 49, 63, 250 — HSL 236°, 95%, 59% — CMYK 80%, 75%, 0%, 2%.

What colors go with #313FFA?

Its complement is #FAED33; analogous partners are #33A4FA and #8933FA. It also appears in 6+ palettes in our collection.

Can I use #313FFA for text?

White text on #313FFA has a contrast ratio of 6.52:1 (passes WCAG AA); black text gives 3.22:1.