#0F171C Hex Color

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

Hex color #0f171c graphic
Nearly black with a muted blue-gray cast, #0f171c feels serious, controlled, and slightly mysterious. Its low lightness gives interfaces, finance brands, security tools, and moody layouts a dependable foundation. Use it as a dominant dark background with white text, which reaches about 18.1:1 contrast. The hex code for this blue-black is #0f171c.

Questions about #0f171c

What is #0f171c in RGB, HSL and CMYK?
In RGB, #0f171c is rgb(15, 23, 28), in HSL hsl(203, 30%, 8%) and in CMYK 46%, 18%, 0%, 89%.
Which colors pair well with #0f171c?
Warm off-white, muted copper, dusty blue, and desaturated teal pair well with #0f171c, adding contrast without erasing its controlled blue-gray character; use pale accents for legibility and reserve brighter tones for buttons or key highlights.
Does #0f171c read as warm or cool?
#0f171c reads as a cool blue-black because its near-black base carries a muted blue-gray cast rather than red, brown, or yellow undertones, giving dominant backgrounds a controlled, technical feel instead of a cozy or earthy one.
Is #0f171c readable on white or black?
#0f171c has a 18.10: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.