Skip to the color picker

#0c0e31 color: Spanish Roast

#0c0e31 is rgb(12, 14, 49) in RGB and oklch(18.821% 0.0683 275.209) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

237°
100%

18.8%
0.068
275°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 81%

Inside sRGB: displays the same on any screen.

White text
18.70:1Readable · AA
Lc -107
Black text
1.12:1Hard to read
Lc 0

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 #0c0e31

#0c0e31 is a soft very dark indigo color. In OKLCH it has 18.8% lightness, 0.068 chroma and a hue of 275°.

Inside sRGB: displays the same on any screen.

White text on it reaches 18.7:1 contrast and black text 1.12:1, so white text reads better.

The closest named color is Spanish Roast (#111133). In Tailwind CSS the closest color is slate-900.

More very dark indigo colors

Lighter: #0c0e31 mixed with white

Darker: #0c0e31 mixed with black

  1. 000000

Calmer: #0c0e31 with less saturation

Similar named colors

Colors that go with #0c0e31

Complementary
Analogous
Triadic
Split

Questions about #0c0e31

What color is #0c0e31?

#0c0e31 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 14, 49), in HSL hsl(236.76, 60.66%, 11.96%) and in OKLCH oklch(18.821% 0.0683 275.209).

What colors go well with #0c0e31?

The complementary color of #0c0e31 is #1b1200. For a calmer combination use the analogous colors #00142f and #1b082b. The triadic partners are #2b0400 and #001b05.

Is white or black text more readable on #0c0e31?

White text reads better on #0c0e31: white gives a contrast ratio of 18.7:1 and black gives 1.12:1. WCAG AA asks for at least 4.5:1 for body text.

Is #0c0e31 a warm or cool color?

#0c0e31 is a cool color. In OKLCH its hue is 275 degrees, its lightness 18.8% and its chroma 0.068.