Skip to the color picker

#0c0b31 color: Cosmic Void

#0c0b31 is rgb(12, 11, 49) in RGB and oklch(18.161% 0.07296 277.436) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

242°
100%

18.2%
0.073
277°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 81%

Inside sRGB: displays the same on any screen.

White text
18.96:1Readable · AA
Lc -107
Black text
1.11: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 #0c0b31

#0c0b31 is a soft very dark indigo color. In OKLCH it has 18.2% lightness, 0.073 chroma and a hue of 277°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cosmic Void (#090533). In Tailwind CSS the closest color is slate-900.

More very dark indigo colors

Lighter: #0c0b31 mixed with white

Darker: #0c0b31 mixed with black

  1. 000000

Calmer: #0c0b31 with less saturation

Similar named colors

Colors that go with #0c0b31

Complementary
Analogous
Triadic
Split

Questions about #0c0b31

What color is #0c0b31?

#0c0b31 is soft very dark indigo. The closest named color is Cosmic Void. In RGB it is rgb(12, 11, 49), in HSL hsl(241.58, 63.33%, 11.76%) and in OKLCH oklch(18.161% 0.07296 277.436).

What colors go well with #0c0b31?

The complementary color of #0c0b31 is #191100. For a calmer combination use the analogous colors #001230 and #1b052a. The triadic partners are #2a0100 and #001a05.

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

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

Is #0c0b31 a warm or cool color?

#0c0b31 is a cool color. In OKLCH its hue is 277 degrees, its lightness 18.2% and its chroma 0.073.