Maroon Colors  ·  Color Library

Palettes / Colors / #313A4E

#313A4E — Deep Dusty Blue

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

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

#313A4E · RGB 49, 58, 78

Download PNG swatch SVG

Color values

HEX#313A4E
RGB49, 58, 78
HSL221°, 23%, 25%
HSV221°, 37%, 31%
CMYK37%, 26%, 0%, 69%
XYZ4.15, 4.23, 7.81
Yxy4.23, 0.2566, 0.2612
CIE-Lab24.41, 1.93, -13.40
Hunter Lab20.56, 1.19, -9.58

RGB & CMYK percentages

Red 19% · Green 23% · Blue 31%

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

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

Previews

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

CSS code for #313A4E

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

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

Shades of #313A4E

#2D3648#293142#252C3C#212835#1D232F#181C26#14171F#101319#0C0E13#08090D

Tints of #313A4E

#3F4B64#4D5B7A#5A6B90#6C7DA3#8593B2#9BA7C0#B1BACE#C7CDDC#DCE1E9#F2F4F7

Tones of #313A4E

#333B4D#363C4A#373D48#393D46#3B3E44#3E3F42

Color harmonies

Complementary — #4E4531:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.38:1 AAA
Against black text1.85:1 Fails

Best text color on #313A4E: #FFFFFF.

Semi-transparent (opacity) text on #313A4E

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

How #313A4E 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 · #343448Tritanopia · #314545

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

Palette 30364f
#30364F · #ACBAC4 · #E1D9BC · #F0F0DB
Palette 333c4a
#333C4A · #495664 · #F6F7D3 · #F8FCEB
Palette 35374b
#35374B · #344955 · #50727B · #78A083
Palette 313647
#313647 · #435663 · #A3B087 · #FFF8D4
Palette E8edf2
#E8EDF2 · #2C3947 · #547A95 · #C2A56D
Palette 2d3250
#2D3250 · #424769 · #7077A1 · #F6B17A

Similar colors

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

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

Browse neighbouring colors

← #313A4D  ·  #313A4F →

Frequently asked questions

What color is #313A4E?

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

What is the RGB and HSL of #313A4E?

#313A4E is RGB 49, 58, 78 — HSL 221°, 23%, 25% — CMYK 37%, 26%, 0%, 69%.

What colors go with #313A4E?

Its complement is #4E4531; analogous partners are #31494E and #36314E. It also appears in 6+ palettes in our collection.

Can I use #313A4E for text?

White text on #313A4E has a contrast ratio of 11.38:1 (passes WCAG AA); black text gives 1.85:1.