#1F2528 Hex Color

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

Hex color #1f2528 graphic
This muted, dusty blue leans heavily toward grey, creating a serious and somber mood. Because of its dark, desaturated nature, #1f2528 performs well as a professional background for modern dark-mode interfaces. It offers excellent contrast for white text, so it remains highly readable. Pair this hex code with vibrant, warm oranges to break up its cooler, shadowy character in branding or UI design.

Questions about #1f2528

What is #1f2528 in RGB, HSL and CMYK?
In RGB, #1f2528 is rgb(31, 37, 40), in HSL hsl(200, 13%, 14%) and in CMYK 22%, 7%, 0%, 84%.
What colors pair best with #1f2528?
Because #1f2528 is a cool, shadowy tone, it works best when paired with vibrant, warm accents to create visual interest. Try using a bright orange or soft gold to break up the serious nature of this dark blue-grey shade.
Is #1f2528 suitable for text in dark-mode interfaces?
Yes, #1f2528 provides an excellent, professional alternative to pure black when used as a background color for interfaces. It offers enough depth to maintain high readability while remaining significantly softer and less jarring on the eyes than standard pitch-black backgrounds.
Is #1f2528 readable on white or black?
#1f2528 has a 15.51:1 contrast ratio on white and 1.35: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.