Skip to the color picker

#0c0217 color: Midnight Jam

#0c0217 is rgb(12, 2, 23) in RGB and oklch(12.88% 0.0519 305.562) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

269°
100%

12.9%
0.052
306°
  • Black
  • Very dark
  • Soft
  • Neutral
  • ≈ Black
  • slate-950
  • Black 91%

Inside sRGB: displays the same on any screen.

White text
20.26:1Readable · AA
Lc -108
Black text
1.04:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #0c0217

#0c0217 is a black color. In OKLCH it has 12.9% lightness, 0.052 chroma and a hue of 306°.

Inside sRGB: displays the same on any screen.

White text on it reaches 20.26:1 contrast and black text 1.04:1, so white text reads better.

The closest named color is Midnight Jam (#0b0119). In Tailwind CSS the closest color is slate-950.

More very dark black colors

Lighter: #0c0217 mixed with white

Darker: #0c0217 mixed with black

  1. 000000
  2. 000000

Calmer: #0c0217 with less saturation

Similar named colors

Colors that go with #0c0217

Complementary
Analogous
Triadic
Split

Questions about #0c0217

What color is #0c0217?

#0c0217 is black. The closest named color is Midnight Jam. In RGB it is rgb(12, 2, 23), in HSL hsl(268.57, 84%, 4.9%) and in OKLCH oklch(12.88% 0.0519 305.562).

What colors go well with #0c0217?

The complementary color of #0c0217 is #040a00. For a calmer combination use the analogous colors #04041b and #12010f. The triadic partners are #130300 and #000c09.

Is white or black text more readable on #0c0217?

White text reads better on #0c0217: white gives a contrast ratio of 20.26:1 and black gives 1.04:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0c0217 a warm or cool color?

#0c0217 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 12.9% and its chroma 0.052.