#0c0f28 color: Void
#0c0f28 is rgb(12, 15, 40) in RGB and oklch(18.203% 0.05068 275.047) 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 84%
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 #0c0f28
#0c0f28 is a soft very dark indigo color. In OKLCH it has 18.2% lightness, 0.051 chroma and a hue of 275°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.84:1 contrast and black text 1.11:1, so white text reads better.
The closest named color is Void (#050d25). In Tailwind CSS the closest color is slate-900.
Lighter: #0c0f28 mixed with white
Darker: #0c0f28 mixed with black
Calmer: #0c0f28 with less saturation
Similar named colors
Colors that go with #0c0f28
Questions about #0c0f28
What color is #0c0f28?
#0c0f28 is soft very dark indigo. The closest named color is Void. In RGB it is rgb(12, 15, 40), in HSL hsl(233.57, 53.85%, 10.2%) and in OKLCH oklch(18.203% 0.05068 275.047).
What colors go well with #0c0f28?
The complementary color of #0c0f28 is #191100. For a calmer combination use the analogous colors #001327 and #170b24. The triadic partners are #240803 and #001808.
Is white or black text more readable on #0c0f28?
White text reads better on #0c0f28: white gives a contrast ratio of 18.84:1 and black gives 1.11:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c0f28 a warm or cool color?
#0c0f28 is a cool color. In OKLCH its hue is 275 degrees, its lightness 18.2% and its chroma 0.051.