Skip to the color picker

#08021c color: Midnight Jam

#08021c is rgb(8, 2, 28) in RGB and oklch(12.819% 0.05869 290.277) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

254°
100%

12.8%
0.059
290°
  • Black
  • Very dark
  • Soft
  • Cool
  • ≈ Black
  • slate-950
  • Black 89%

Inside sRGB: displays the same on any screen.

White text
20.27: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

Open as palette

Recent

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

About #08021c

#08021c is a black color. In OKLCH it has 12.8% lightness, 0.059 chroma and a hue of 290°.

Inside sRGB: displays the same on any screen.

White text on it reaches 20.27: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: #08021c mixed with white

  1. 08021c
  2. 1a1430
  3. 2e2a44
  4. 44415a
  5. 5c5a70
  6. 757386
  7. 8f8d9d
  8. aaa9b5
  9. c5c5cd
  10. e2e2e6

Darker: #08021c mixed with black

  1. 08021c
  2. 060117
  3. 040112
  4. 03010d
  5. 020008
  6. 010005
  7. 010002
  8. 000001
  9. 000000
  10. 000000

Calmer: #08021c with less saturation

  1. 08021c
  2. 08031a
  3. 070318
  4. 070416
  5. 070514
  6. 070512
  7. 07060f
  8. 07060d
  9. 07060b
  10. 070709

Questions about #08021c

What color is #08021c?

#08021c is black. The closest named color is Midnight Jam. In RGB it is rgb(8, 2, 28), in HSL hsl(253.85, 86.67%, 5.88%) and in OKLCH oklch(12.819% 0.05869 290.277).

What colors go well with #08021c?

The complementary color of #08021c is #080800. For a calmer combination use the analogous colors #00051e and #100015. The triadic partners are #170000 and #000c05.

Is white or black text more readable on #08021c?

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

Is #08021c a warm or cool color?

#08021c is a cool color. In OKLCH its hue is 290 degrees, its lightness 12.8% and its chroma 0.059.