#0F1F45 Hex Color

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

Hex color #0f1f45 graphic
#0f1f45 is an inky, desaturated shade that reads as a grounded, serious base. Its matte quality avoids the harshness of pure black, offering a stable foundation for corporate branding or moody UI layouts. Because it provides strong contrast with white text, this dark blue works well for full backgrounds. It feels most professional when paired with subtle metallic accents or soft, warm grays.

Questions about #0f1f45

What is #0f1f45 in RGB, HSL and CMYK?
In RGB, #0f1f45 is rgb(15, 31, 69), in HSL hsl(222, 64%, 16%) and in CMYK 78%, 55%, 0%, 73%. Browse more shades of blue with names and hex codes.
Why is #0f1f45 often used instead of pure black in UI design?
#0f1f45 provides a grounded, professional foundation that feels less harsh than pure black while maintaining strong contrast for text. It adds visual depth to backgrounds and works exceptionally well for web interfaces that require a stable, high-end appearance.
What colors pair well with #0f1f45 for a balanced palette?
This deep blue looks best when paired with soft, warm grays or subtle metallic accents that break up the density. It also creates a sophisticated, modern contrast when used alongside cream or sand tones for a softer, more approachable feel.
Is #0f1f45 readable on white or black?
#0f1f45 has a 16.12:1 contrast ratio on white and 1.30: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.