#313A58 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dusty, unsaturated indigo feels serious and grounded. Its muted character avoids the harshness of pure black, making it a reliable choice for dark mode UI backgrounds. White text creates excellent legibility against this shade, ensuring accessibility for body content. Pair it with warm, muted creams to soften its cool intensity. The hex code for this moody navy is #313a58.
Questions about #313a58
What is #313a58 in RGB, HSL and CMYK?
In RGB, #313a58 is rgb(49, 58, 88), in HSL hsl(226, 28%, 27%) and in CMYK 44%, 34%, 0%, 65%. Browse more shades of blue with names and hex codes.
How should I use #313a58 in a UI design?
#313a58 functions effectively as a sophisticated background color for dark mode interfaces. Because it is muted and unsaturated, it provides enough contrast for white text without the harsh intensity of pure black, creating a comfortable visual experience for users.
Which accent colors pair well with #313a58?
Pair #313a58 with warm, muted creams or soft beiges to balance its cool intensity. It also works well with desaturated olive or dusty terracotta tones, which prevent the layout from feeling overly cold while maintaining a professional, serious aesthetic.
Is #313a58 readable on white or black?
#313a58 has a 11.18:1 contrast ratio on white and 1.87:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.