#0A0F1C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This near-black, inky blue carries a heavy, serious weight that demands attention. Because it is so dark, it works best as a moody background color for tech interfaces or high-contrast UI designs. White text sits perfectly on top of it, maintaining excellent readability. The hex code for this shade is #0a0f1c. Use it when you need a sophisticated, professional alternative to standard black.
Questions about #0a0f1c
What is #0a0f1c in RGB, HSL and CMYK?
In RGB, #0a0f1c is rgb(10, 15, 28), in HSL hsl(223, 47%, 7%) and in CMYK 64%, 46%, 0%, 89%. Browse more shades of black with names and hex codes.
When should I use #0a0f1c instead of pure black?
Use #0a0f1c when you want a softer, more sophisticated aesthetic than pure black allows. This near-black blue maintains deep contrast and modern readability while adding subtle visual complexity that prevents layouts from feeling harsh, flat, or overly clinical.
What colors pair well with #0a0f1c in UI design?
This deep inky tone pairs best with crisp, high-value accents to maintain legibility. Try highlighting key actions with a vibrant electric blue or keeping text legibility high by using off-white or light platinum grays against the dark background.
Is #0a0f1c readable on white or black?
#0a0f1c has a 19.12:1 contrast ratio on white and 1.09: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.