50% off Pro — 12 months
15d19h20m37s

#0F172A

black

Color info, conversions, contrast ratios, shades, and tints for #0F172A

Color Formats

HEX

#0f172a

RGB

rgb(15, 23, 42)

HSL

hsl(222, 47%, 11%)

OKLCH

oklch(20.8% 0.0398 265.8)

WCAG Contrast Ratios

On White (#fff)

17.85:1

AA Normal ✓ AA Large ✓ AAA ✓
Sample Text

On Black (#000)

1.18:1

AA Normal ✗ AA Large ✗ AAA ✗
Sample Text

Shades & Tints

Shades (Darker)

Tints (Lighter)

Related Colors

Complementary

Analogous

Closest CSS named color

black

#000000

Look up another color

Open full Color Info tool

About #0F172A

#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).

Related Free Tools

Extract colors from any website

MiroMiro's Chrome extension extracts complete color palettes from any live website - including HEX, RGB, HSL, and OKLCH values.