#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
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Black
- Very dark
- Soft
- Cool
- ≈ Black
- slate-950
- Black 89%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
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.
Lighter: #08021c mixed with white
Darker: #08021c mixed with black
Calmer: #08021c with less saturation
Similar named colors
Colors that go with #08021c
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.