black
Color info, conversions, contrast ratios, shades, and tints for #0F172A
HEX
#0f172a
RGB
rgb(15, 23, 42)
HSL
hsl(222, 47%, 11%)
OKLCH
oklch(20.8% 0.0398 265.8)
On White (#fff)
17.85:1
On Black (#000)
1.18:1
Closest CSS named color
black
#000000
Look up another color
Open full Color Info tool#0F172A is a hex color code closest to the CSS named color black. It has a perceived brightness of 9% making it a dark color. In RGB it is rgb(15, 23, 42), in HSL it is hsl(222, 47%, 11%), and in the modern OKLCH color space it is oklch(20.8% 0.0398 265.8).