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

A dark, very muted blue with gray, inky undertones, #1f2840 creates a serious, controlled mood for finance, technology, government, or security interfaces. Use it as a dominant dark-mode background with white text, providing about a 14.6:1 contrast ratio. The hex code for this dark blue is #1f2840.
Questions about #1f2840
What is #1f2840 in RGB, HSL and CMYK?
In RGB, #1f2840 is rgb(31, 40, 64), in HSL hsl(224, 35%, 19%) and in CMYK 52%, 38%, 0%, 75%. Browse more shades of blue with names and hex codes.
What colors pair well with #1f2840?
Pair #1f2840 with off-white, pale blue, muted teal, or warm amber accents to soften its inky depth; use lighter tints for hierarchy and reserve high-saturation colors for focused actions, alerts, or small decorative details.
Is #1f2840 readable on white or black?
#1f2840 has a 14.62:1 contrast ratio on white and 1.43: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.