#050C18 Hex Color

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

Hex color #050c18 graphic
Nearly black and strongly muted, #050c18 has a sooty blue cast that feels serious, secure, and controlled. It works well as a dominant dark-mode background for finance, technology, government, or security interfaces. Pair it with white text for clear contrast, measured at about 19.6:1. The hex code for this color is #050c18.

Questions about #050c18

What is #050c18 in RGB, HSL and CMYK?
In RGB, #050c18 is rgb(5, 12, 24), in HSL hsl(218, 66%, 6%) and in CMYK 79%, 50%, 0%, 91%. Browse more shades of black with names and hex codes.
Does #050c18 read as warm or cool?
#050c18 reads as a cool near-black because its blue cast shifts the darkness toward blue rather than brown or red, creating a serious, secure mood with less warmth than brown-black tones.
How can I build a palette around #050c18?
White gives #050c18 its clearest contrast, while pale blue, soft gray, and muted teal can create calmer supporting palettes without overwhelming its dark base. Use brighter accents sparingly, because this near-black shade quickly dominates lighter colors.
Where does #050c18 work best?
Use #050c18 for dark-mode backgrounds, navigation panels, security dashboards, and finance, technology, or government interfaces where a controlled, low-distraction foundation matters. Pair it with high-contrast text and restrained accents to preserve hierarchy.
Is #050c18 readable on white or black?
#050c18 has a 19.58:1 contrast ratio on white and 1.07: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.