#0F161F Hex Color

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

Hex color #0f161f graphic
This near-black shade is inky and severely muted, functioning better as a dominant background than a flat black. Because #0f161f offers an 18.2:1 contrast ratio against white text, it provides excellent readability for UI interfaces. Use this hex code for dark mode web designs or financial dashboards where you need serious, moody weight without the harshness of pure black.

Questions about #0f161f

What is #0f161f in RGB, HSL and CMYK?
In RGB, #0f161f is rgb(15, 22, 31), in HSL hsl(214, 35%, 9%) and in CMYK 52%, 29%, 0%, 88%.
Why is #0f161f better for UI than pure black?
Pure black can cause eye strain due to extreme contrast against light text, while #0f161f provides a softer, inky alternative that maintains an 18.2:1 contrast ratio. It retains the professional weight of a dark theme without feeling flat or harsh.
What kind of colors pair well with #0f161f?
This deep shade acts as a neutral foundation that elevates vibrant accents, such as electric blue or warm gold, without clashing. Its muted character allows bright, saturated colors to stand out prominently against the background.
Is #0f161f readable on white or black?
#0f161f has a 18.18:1 contrast ratio on white and 1.15: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.