#1F2948 Hex Color

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

Hex color #1f2948 graphic
#1f2948 is a dark, muted blue with cool slate undertones and a matte, inky appearance. Its low saturation gives interfaces a serious, stable feel without the harshness of pure black. Use it as a dominant dark-mode background or formal branding base, pairing it with burgundy or warm gray. The hex code #1f2948 supports highly readable white text at about 14.3:1 contrast.

Questions about #1f2948

What is #1f2948 in RGB, HSL and CMYK?
In RGB, #1f2948 is rgb(31, 41, 72), in HSL hsl(225, 40%, 20%) and in CMYK 57%, 43%, 0%, 72%. Browse more shades of blue with names and hex codes.
What colors pair well with #1f2948?
#1f2948 pairs well with warm gray, burgundy, muted blue, and soft white, balancing its cool slate base with warmth or gentle contrast for polished interfaces and formal brand palettes while maintaining clear visual hierarchy. Use warm neutrals for large areas and burgundy sparingly as an accent.
Where does #1f2948 work best?
#1f2948 works especially well for dark-mode backgrounds, navigation bars, dashboards, and formal brand layouts where a stable, low-glare base feels more refined than pure black while preserving strong contrast with light text.
Is #1f2948 readable on white or black?
#1f2948 has a 14.29:1 contrast ratio on white and 1.46: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.