#1F3954 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#1f3954 is a dark, muted blue with cool gray undertones and a dusty, low-saturation finish. Its serious, controlled character suits finance, security, government, and corporate branding. Use it as a dominant dark-mode background with white text, which reads clearly against this shade. The hex code is #1f3954.
Questions about #1f3954
What is #1f3954 in RGB, HSL and CMYK?
In RGB, #1f3954 is rgb(31, 57, 84), in HSL hsl(211, 46%, 23%) and in CMYK 63%, 32%, 0%, 67%. Browse more shades of blue with names and hex codes.
Is #1f3954 a warm or cool color?
It reads as a cool, muted blue because its blue channel is higher than red and green, while its low saturation and gray undertones soften the hue. That restrained balance suits formal interfaces and backgrounds more than lively, high-energy accents.
What colors pair well with #1f3954?
#1f3954 pairs well with white, soft gray, pale blue, and muted warm accents such as terracotta or mustard. Light neutrals create clean contrast, while restrained warm colors keep the palette from feeling too cold.
Is #1f3954 readable on white or black?
#1f3954 has a 11.85:1 contrast ratio on white and 1.77: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.