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

#0f0f30 is a very dark indigo with a dusty, ashy cast. Its low lightness makes it a dependable base for dark mode UIs and night sky scenes, where white text reaches about 18.6:1 contrast. Pair it with muted gold or burgundy accents to keep large areas from reading flat.
Questions about #0f0f30
What is #0f0f30 in RGB, HSL and CMYK?
In RGB, #0f0f30 is rgb(15, 15, 48), in HSL hsl(240, 52%, 12%) and in CMYK 69%, 69%, 0%, 81%. Browse more shades of black with names and hex codes.
What text color works best on #0f0f30?
White text works best on #0f0f30, with a contrast ratio of about 18.6:1, well above the 4.5:1 needed for WCAG AA body text. Muted gold also reads clearly if you want a softer accent.
What colors pair well with #0f0f30?
Warm accents like burgundy, muted gold, or dusty rose keep this shade from feeling flat, since its cool undertone benefits from contrast. Cool grays work too but can make the whole palette feel heavy.
Is #0f0f30 readable on white or black?
#0f0f30 has a 18.56:1 contrast ratio on white and 1.13: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.