Maroon Colors  ·  Color Library

Palettes / Colors / #313B4E

#313B4E — Deep Dusty Blue

#313B4E is a blue color we call Deep Dusty Blue, closest to the named color DarkSlateGray (#2F4F4F). It belongs to the blue family.

Color name

Closest CSS keyword: darkslategray (#2F4F4F) — not an exact match. CSS darkslategray gives you #2F4F4F, a different color; use #313B4E 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.

#313B4E 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 #4E4431; it also sits naturally between #314A4E and #35314E. In the palettes below you can see it working alongside real color combinations from our collection.

#313B4E · RGB 49, 59, 78

Download PNG swatch SVG

Color values

HEX#313B4E
RGB49, 59, 78
HSL219°, 23%, 25%
HSV219°, 37%, 31%
CMYK37%, 24%, 0%, 69%
XYZ4.21, 4.33, 7.82
Yxy4.33, 0.2571, 0.2647
CIE-Lab24.74, 1.26, -12.91
Hunter Lab20.81, 0.78, -9.19

RGB & CMYK percentages

Red 19% · Green 23% · Blue 31%

Cyan 37% · Magenta 24% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #313B4E

.text { color: #313B4E; }
.background { background-color: #313B4E; }
.border { border: 3px solid #313B4E; }
.text-rgb { color: rgb(49, 59, 78); }
.text-hsl { color: hsl(219, 23%, 25%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #313B4E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(49, 59, 78, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #313B4E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(49, 59, 78, 0.8); }

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

Shades of #313B4E

#2D3748#293242#252D3C#212835#1D242F#181C26#14181F#101319#0C0E13#08090D

Tints of #313B4E

#3F4C64#4D5D7A#5A6D90#6C7FA3#8595B2#9BA8C0#B1BBCE#C7CEDC#DCE1E9#F2F4F7

Tones of #313B4E

#333C4D#363D4A#373D48#393E46#3B3E44#3E3F42

Color harmonies

Complementary — #4E4431:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.25:1 AAA
Against black text1.87:1 Fails

Best text color on #313B4E: #FFFFFF.

Semi-transparent (opacity) text on #313B4E

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

How #313B4E looks with color blindness

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

Protanopia · #353549Deuteranopia · #353448Tritanopia · #324645

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 neutral 600 · #525252Tailwind zinc 600 · #52525BTailwind gray 600 · #4B5563

Palettes with a similar color

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

Palette 333c4a
#333C4A · #495664 · #F6F7D3 · #F8FCEB
Palette 30364f
#30364F · #ACBAC4 · #E1D9BC · #F0F0DB
Palette 35374b
#35374B · #344955 · #50727B · #78A083
Palette 313647
#313647 · #435663 · #A3B087 · #FFF8D4
Palette E8edf2
#E8EDF2 · #2C3947 · #547A95 · #C2A56D
Palette 2b3a55
#2B3A55 · #CE7777 · #E8C4C4 · #F2E5E5

Similar colors

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

#333C4A#30364F#35374B#313647#2C3947#2B3A55#2D3250#2F3645#273F4F#27374D#333446#333456

Browse neighbouring colors

← #313B4D  ·  #313B4F →

Frequently asked questions

What color is #313B4E?

#313B4E is Deep Dusty Blue, a blue color (RGB 49, 59, 78). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #313B4E?

#313B4E is RGB 49, 59, 78 — HSL 219°, 23%, 25% — CMYK 37%, 24%, 0%, 69%.

What colors go with #313B4E?

Its complement is #4E4431; analogous partners are #314A4E and #35314E. It also appears in 6+ palettes in our collection.

Can I use #313B4E for text?

White text on #313B4E has a contrast ratio of 11.25:1 (passes WCAG AA); black text gives 1.87:1.