#0c1335 color: Spanish Roast
#0c1335 is rgb(12, 19, 53) in RGB and oklch(20.406% 0.0672 270.567) 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 79%
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 #0c1335
#0c1335 is a soft very dark indigo color. In OKLCH it has 20.4% lightness, 0.067 chroma and a hue of 271°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.1:1 contrast and black text 1.16:1, so white text reads better.
The closest named color is Spanish Roast (#111133). In Tailwind CSS the closest color is slate-900.
Lighter: #0c1335 mixed with white
Darker: #0c1335 mixed with black
Calmer: #0c1335 with less saturation
Similar named colors
Colors that go with #0c1335
Questions about #0c1335
What color is #0c1335?
#0c1335 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 19, 53), in HSL hsl(229.76, 63.08%, 12.75%) and in OKLCH oklch(20.406% 0.0672 270.567).
What colors go well with #0c1335?
The complementary color of #0c1335 is #211500. For a calmer combination use the analogous colors #001932 and #1c0d30. The triadic partners are #2f0703 and #001f05.
Is white or black text more readable on #0c1335?
White text reads better on #0c1335: white gives a contrast ratio of 18.1:1 and black gives 1.16:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c1335 a warm or cool color?
#0c1335 is a cool color. In OKLCH its hue is 271 degrees, its lightness 20.4% and its chroma 0.067.