#0c1031 color: Spanish Roast
#0c1031 is rgb(12, 16, 49) in RGB and oklch(19.291% 0.06509 273.436) 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 81%
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 #0c1031
#0c1031 is a soft very dark indigo color. In OKLCH it has 19.3% lightness, 0.065 chroma and a hue of 273°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.52:1 contrast and black text 1.13:1, so white text reads better.
The closest named color is Spanish Roast (#111133). In Tailwind CSS the closest color is slate-900.
Lighter: #0c1031 mixed with white
Darker: #0c1031 mixed with black
Calmer: #0c1031 with less saturation
Similar named colors
Colors that go with #0c1031
Questions about #0c1031
What color is #0c1031?
#0c1031 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 16, 49), in HSL hsl(233.51, 60.66%, 11.96%) and in OKLCH oklch(19.291% 0.06509 273.436).
What colors go well with #0c1031?
The complementary color of #0c1031 is #1d1300. For a calmer combination use the analogous colors #00162f and #1b0b2c. The triadic partners are #2b0501 and #001c05.
Is white or black text more readable on #0c1031?
White text reads better on #0c1031: white gives a contrast ratio of 18.52:1 and black gives 1.13:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c1031 a warm or cool color?
#0c1031 is a cool color. In OKLCH its hue is 273 degrees, its lightness 19.3% and its chroma 0.065.