#1F2F45 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #1f2f45 graphic
#1f2f45 is a dark, muted blue with gray, slate-like undertones and a matte finish. Its low saturation creates a serious, controlled mood suited to finance, security, technology, and government interfaces. Use it as a dominant dark-mode background with white text, which achieves about 13.5:1 contrast. The hex code for this color is #1f2f45.

Questions about #1f2f45

What is #1f2f45 in RGB, HSL and CMYK?
In RGB, #1f2f45 is rgb(31, 47, 69), in HSL hsl(215, 38%, 20%) and in CMYK 55%, 32%, 0%, 73%.
What colors pair well with #1f2f45?
Warm off-white, muted gold, pale blue, and soft gray pair well with #1f2f45, balancing its cool slate base without overwhelming its restrained character in interfaces and branding where visual hierarchy matters. Use warm accents sparingly for emphasis, or lighter neutrals for readable cards and navigation.
Is #1f2f45 a warm or cool color?
#1f2f45 reads as a cool color because its blue base and gray, slate-like undertones create a calm, recessed appearance rather than the visual warmth associated with red, orange, or yellow. Its muted saturation keeps that cool impression controlled rather than bright or icy.
Is #1f2f45 readable on white or black?
#1f2f45 has a 13.54:1 contrast ratio on white and 1.55: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.