Maroon Colors  ·  Color Library

Palettes / Colors / #313BFC

#313BFC — Vivid Blue

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

#313BFC 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 #FCF231; it also sits naturally between #31A1FC and #8C31FC. In the palettes below you can see it working alongside real color combinations from our collection.

#313BFC · RGB 49, 59, 252

Download PNG swatch SVG

Color values

HEX#313BFC
RGB49, 59, 252
HSL237°, 97%, 59%
HSV237°, 81%, 99%
CMYK81%, 77%, 0%, 1%
XYZ20.40, 10.81, 93.11
Yxy10.81, 0.1641, 0.0869
CIE-Lab39.26, 61.19, -94.56
Hunter Lab32.88, 55.86, -152.32

RGB & CMYK percentages

Red 19% · Green 23% · Blue 99%

Cyan 81% · Magenta 77% · Yellow 0% · Key 1%

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

Previews

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

CSS code for #313BFC

.text { color: #313BFC; }
.background { background-color: #313BFC; }
.border { border: 3px solid #313BFC; }
.text-rgb { color: rgb(49, 59, 252); }
.text-hsl { color: hsl(237, 97%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #313BFC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(49, 59, 252, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #313BFC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(49, 59, 252, 0.8); }

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

Shades of #313BFC

#1823FB#0410F1#030ED8#030CBA#020AA1#020883#020769#01054B#010332#000114

Tints of #313BFC

#454EFC#545DFC#6870FD#7C83FD#9096FD#A0A4FE#B4B7FE#C8CAFE#D7D9FE#EBECFF

Tones of #313BFC

#4048ED#4E56DF#5D63D0#6B6FC2#797CB4#8889A5

Color harmonies

Complementary — #FCF231:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.64:1 AA
Against black text3.16:1 AA large only

Best text color on #313BFC: #FFFFFF.

Semi-transparent (opacity) text on #313BFC

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

How #313BFC looks with color blindness

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

Protanopia · #3535CDDeuteranopia · #3534C2Tritanopia · #32A8A0

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

Electric Ruby Mirage
#0E1A09 · #FC445C · #3636FD · #4A70FE
Smoky Petal
#1C0811 · #5CF83B · #3942FE · #20CAFB
Palette Ebeaff
#EBEAFF · #9694FF · #3D3BF3 · #FF2929
Electric Mirage
#261F0B · #262DFE · #FA39AE · #6B21FB
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0
Frozen Ruby Solace
#0D3820 · #FCF211 · #2B28F8 · #FB3D25

Similar colors

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

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

Browse neighbouring colors

← #313BFB  ·  #313BFD →

Frequently asked questions

What color is #313BFC?

#313BFC is Vivid Blue, a blue color (RGB 49, 59, 252). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #313BFC?

#313BFC is RGB 49, 59, 252 — HSL 237°, 97%, 59% — CMYK 81%, 77%, 0%, 1%.

What colors go with #313BFC?

Its complement is #FCF231; analogous partners are #31A1FC and #8C31FC. It also appears in 6+ palettes in our collection.

Can I use #313BFC for text?

White text on #313BFC has a contrast ratio of 6.64:1 (passes WCAG AA); black text gives 3.16:1.