#0c0f34 color: Infinite Night
#0c0f34 is rgb(12, 15, 52) in RGB and oklch(19.359% 0.0718 274.021) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- slate-900
- Black 80%
Inside sRGB: displays the same on any screen.
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 #0c0f34
#0c0f34 is a soft very dark indigo color. In OKLCH it has 19.4% lightness, 0.072 chroma and a hue of 274°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.53:1 contrast and black text 1.13:1, so white text reads better.
The closest named color is Infinite Night (#071037). In Tailwind CSS the closest color is slate-900.
Lighter: #0c0f34 mixed with white
Darker: #0c0f34 mixed with black
Calmer: #0c0f34 with less saturation
Similar named colors
Colors that go with #0c0f34
Questions about #0c0f34
What color is #0c0f34?
#0c0f34 is soft very dark indigo. The closest named color is Infinite Night. In RGB it is rgb(12, 15, 52), in HSL hsl(235.5, 62.5%, 12.55%) and in OKLCH oklch(19.359% 0.0718 274.021).
What colors go well with #0c0f34?
The complementary color of #0c0f34 is #1d1300. For a calmer combination use the analogous colors #001632 and #1c092e. The triadic partners are #2d0300 and #001d04.
Is white or black text more readable on #0c0f34?
White text reads better on #0c0f34: white gives a contrast ratio of 18.53:1 and black gives 1.13:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c0f34 a warm or cool color?
#0c0f34 is a cool color. In OKLCH its hue is 274 degrees, its lightness 19.4% and its chroma 0.072.