#25231F Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This near-black tone serves as a softer, more sophisticated alternative to pure black for UI backgrounds. The hex code for this neutral shade is #25231f. It pairs well with warm ochre or soft sage to create depth without visual fatigue. Because it offers a 15.7:1 contrast ratio against white text, it ensures excellent readability for body copy and minimal interface designs.
Questions about #25231f
What is #25231f in RGB, HSL and CMYK?
In RGB, #25231f is rgb(37, 35, 31), in HSL hsl(40, 9%, 13%) and in CMYK 0%, 5%, 16%, 85%.
Why choose #25231f instead of pure black for interface design?
#25231f provides a high contrast ratio of 15.7:1 against white, ensuring excellent text readability while reducing the visual strain often caused by pure black backgrounds. It feels warmer and more organic on screens, preventing that harsh, hollow look found in digital design.
Which accent colors work best with #25231f?
Is #25231f readable on white or black?
#25231f has a 15.68:1 contrast ratio on white and 1.33: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.