#1F2454 Hex Color

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

Hex color #1f2454 graphic
This muted, desaturated indigo acts as a serious and stable base for dark mode interfaces. Because it leans cool and shadowy, #1f2454 provides a professional alternative to standard black backgrounds. Pair it with soft cream or muted metallics to avoid high-contrast jarring effects. The hex code #1f2454 is a strong choice for brands that want to convey authority without being aggressive.

Questions about #1f2454

What is #1f2454 in RGB, HSL and CMYK?
In RGB, #1f2454 is rgb(31, 36, 84), in HSL hsl(234, 46%, 23%) and in CMYK 63%, 57%, 0%, 67%.
How does #1f2454 perform in dark mode UI?
This color acts as a stable, low-contrast alternative to stark black backgrounds for dark mode interfaces. Because of its desaturated indigo undertone, it creates a professional and sophisticated feel without the harshness often found in absolute black or high-contrast grays.
What colors pair best with #1f2454?
To maintain balance, pair #1f2454 with soft creams or muted metallics rather than bright, saturated colors. Using cream or champagne tones helps soften the transition between background and text, creating a more cohesive, readable, and elegant user experience.
Is #1f2454 readable on white or black?
#1f2454 has a 14.59: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.