#0F162B Hex Color

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

Hex color #0f162b graphic
This inky, near-black shade carries heavy, serious undertones that work well for moody dark mode interfaces. Because it is so dark, white text remains highly legible against it. The hex code for this color is #0f162b. It functions best as a dominant background color rather than an accent, providing a professional, grounding base that pairs surprisingly well with muted, dusty gold or soft peach tones.

Questions about #0f162b

What is #0f162b in RGB, HSL and CMYK?
In RGB, #0f162b is rgb(15, 22, 43), in HSL hsl(225, 48%, 11%) and in CMYK 65%, 49%, 0%, 83%. Browse more shades of blue with names and hex codes.
Why is #0f162b effective for dark mode interfaces?
#0f162b offers a softer, more sophisticated alternative to pure black by including subtle cool undertones. This helps reduce eye strain and visual vibration, while providing excellent contrast for white or light-colored text to maintain high legibility across your application.
Which color palettes work best with #0f162b?
Because it acts as a neutral anchor, #0f162b pairs beautifully with soft, muted tones that pop against dark backgrounds. Try combining it with dusty gold for a luxury feel or soft peach for a modern, approachable aesthetic.
Is #0f162b readable on white or black?
#0f162b has a 17.94:1 contrast ratio on white and 1.16: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.