Maroon Colors  ·  Color Library

Palettes / Colors / #313FBC

#313FBC — Blue

#313FBC is a blue color we call Blue, closest to the named color DarkSlateBlue (#483D8B). It belongs to the blue family.

Color name

Closest CSS keyword: darkslateblue (#483D8B) — not an exact match. CSS darkslateblue gives you #483D8B, a different color; use #313FBC 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.

#313FBC is a cool blue color associated with trust, calm and professionalism. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #BBAD30; it also sits naturally between #3083BB and #6730BB. In the palettes below you can see it working alongside real color combinations from our collection.

#313FBC · RGB 49, 63, 188

Download PNG swatch SVG

Color values

HEX#313FBC
RGB49, 63, 188
HSL234°, 59%, 46%
HSV234°, 74%, 74%
CMYK74%, 66%, 0%, 26%
XYZ12.12, 7.84, 48.45
Yxy7.84, 0.1772, 0.1146
CIE-Lab33.64, 37.69, -67.10
Hunter Lab28.00, 30.25, -87.78

RGB & CMYK percentages

Red 19% · Green 25% · Blue 74%

Cyan 74% · Magenta 66% · Yellow 0% · Key 26%

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

Previews

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

CSS code for #313FBC

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

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

Shades of #313FBC

#2C39AA#28339A#232C86#1E2776#1A2265#161C55#121745#0D1031#080B20#040510

Tints of #313FBC

#3847CC#4D5AD1#616DD6#757FDB#8992E1#9EA5E6#B2B8EB#C6CAF0#DBDDF6#EFF0FB

Tones of #313FBC

#3945B1#444EA7#4D559D#585E93#616589#6C6E7F

Color harmonies

Complementary — #BBAD30:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.18:1 AAA
Against black text2.57:1 Fails

Best text color on #313FBC: #FFFFFF.

Semi-transparent (opacity) text on #313FBC

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

How #313FBC looks with color blindness

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

Protanopia · #37379EDeuteranopia · #363597Tritanopia · #328681

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:

Material Indigo 500 · #3F51B5Tailwind indigo 600 · #4F46E5Material Deep Purple 500 · #673AB7

Palettes with a similar color

These palettes use a close neighbour of #313FBC rather than the exact color:

Crystal Zephyr
#303FB4 · #A283CF · #D684DC · #DC8BB7
Tender Ruby Bloom
#AD3142 · #49C137 · #3446B8 · #EED7DC
Radiant Ruby Opal
#205266 · #2A5CAA · #303AC6 · #6444BF
Silent Lagoon
#2F36B4 · #857EDD · #D9D36D · #E2DAAB
Serene Ruby Mirage
#326483 · #3837B3 · #5D2F79 · #853773
Gentle Saffron
#A1A029 · #BBD351 · #3031BE · #BAC1E8

Similar colors

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

#303FB4#3446B8#303AC6#2F36B4#3837B3#3031BE#344CB7#2844B1#3F45B8#2541B2#3336CA#3746AE

Browse neighbouring colors

← #313FBB  ·  #313FBD →

Frequently asked questions

What color is #313FBC?

#313FBC is Blue, a blue color (RGB 49, 63, 188). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #313FBC?

#313FBC is RGB 49, 63, 188 — HSL 234°, 59%, 46% — CMYK 74%, 66%, 0%, 26%.

What colors go with #313FBC?

Its complement is #BBAD30; analogous partners are #3083BB and #6730BB. It also appears in 6+ palettes in our collection.

Can I use #313FBC for text?

White text on #313FBC has a contrast ratio of 8.18:1 (passes WCAG AA); black text gives 2.57:1.