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

#1f234a is an inky, desaturated indigo that brings a serious, grounded mood to dark interface designs. Its muted, cool undertones make it a stable base that sits back, allowing brighter accent colors to pop without fighting for attention. While it is dark, the hex code #1f234a retains excellent readability when paired with high-contrast white text, making it a reliable choice for professional UI backgrounds.
Questions about #1f234a
What is #1f234a in RGB, HSL and CMYK?
In RGB, #1f234a is rgb(31, 35, 74), in HSL hsl(234, 41%, 21%) and in CMYK 58%, 53%, 0%, 71%. Browse more shades of purple with names and hex codes.
How should I use #1f234a in interface design?
#1f234a serves as an excellent background for dark-mode interfaces because its deep, muted tone provides enough contrast to make white or light-gray typography highly readable. It feels much softer and more premium than a standard black background.
What colors pair best with the #1f234a hex color?
Pair #1f234a with bright, high-chroma accents like a sharp electric yellow or a crisp cyan to create a striking contrast. Because this indigo is so desaturated, these vibrant colors pop significantly without looking visually chaotic.
Is #1f234a readable on white or black?
#1f234a has a 15.02:1 contrast ratio on white and 1.39: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.