#334155 Hex Color
A grounded and modern deep slate blue

#334155 is a dark, desaturated slate blue that leans into inky, ashy tones. Because it is so muted, it works best as a grounding background color or a modern alternative to black. It pairs surprisingly well with warm terracotta or soft creams to balance its cool intensity. The hex code for this serious, professional shade is #334155, which offers excellent readability with white text.
Questions about #334155
What is #334155 in RGB, HSL and CMYK?
In RGB, #334155 is rgb(51, 65, 85), in HSL hsl(215, 25%, 27%) and in CMYK 40%, 24%, 0%, 67%.
How should I use #334155 in UI design?
#334155 works best as a primary background or text color because its high contrast with white text ensures excellent readability. Use it to replace standard black for a softer, more modern look that maintains professional authority.
Which colors pair well with #334155?
This shade shines when paired with warm, earthy tones like terracotta or soft, muted creams to balance its cool intensity. These combinations neutralize the clinical feel of the blue while keeping the design grounded and approachable.
Is #334155 readable on white or black?
#334155 has a 10.35:1 contrast ratio on white and 2.02: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.