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

Dark and muted, #1a1f2e is a blue with strong gray undertones and an inky, almost-black finish. Its low lightness creates a serious, controlled mood suited to finance, security, and technology. Use the hex code #1a1f2e as a dominant dark-mode background, where white text reaches about 16.4:1 contrast for clear readability.
Questions about #1a1f2e
What is #1a1f2e in RGB, HSL and CMYK?
In RGB, #1a1f2e is rgb(26, 31, 46), in HSL hsl(225, 28%, 14%) and in CMYK 43%, 33%, 0%, 82%.
What colors pair well with #1a1f2e?
#1a1f2e pairs well with soft white, cool gray, warm cream, and muted teal, creating readable contrast while preserving its controlled, modern mood across restrained interface palettes and polished digital layouts. Use pale tones for text or surfaces, and reserve brighter accents for actions, links, or small highlights.
Is #1a1f2e a warm or cool color?
#1a1f2e reads as a cool color because its blue component leads the red and green values, while its low saturation adds gray and softens the result into a restrained, inky blue-gray. It feels more controlled and technical than vivid or playful.
Where does #1a1f2e work best?
#1a1f2e works best for dark-mode backgrounds, navigation bars, finance dashboards, security products, and technology branding where its low brightness creates a restrained, dependable visual tone without competing with foreground content. Pair it with lighter surfaces or accents so the layout keeps clear hierarchy instead of becoming uniformly dark.
Is #1a1f2e readable on white or black?
#1a1f2e has a 16.41:1 contrast ratio on white and 1.27: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.