Skip to the color picker

#0a0f31 color: Infinite Night

#0a0f31 is rgb(10, 15, 49) in RGB and oklch(18.898% 0.06737 271.964) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

232°
100%

18.9%
0.067
272°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • slate-900
  • Black 81%

Inside sRGB: displays the same on any screen.

White text
18.66:1Readable · AA
Lc -107
Black text
1.13: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 #0a0f31

#0a0f31 is a soft very dark indigo color. In OKLCH it has 18.9% lightness, 0.067 chroma and a hue of 272°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Infinite Night (#071037). In Tailwind CSS the closest color is slate-900.

More very dark indigo colors

Lighter: #0a0f31 mixed with white

Darker: #0a0f31 mixed with black

  1. 000000

Calmer: #0a0f31 with less saturation

Similar named colors

Colors that go with #0a0f31

Complementary
Analogous
Triadic
Split

Questions about #0a0f31

What color is #0a0f31?

#0a0f31 is soft very dark indigo. The closest named color is Infinite Night. In RGB it is rgb(10, 15, 49), in HSL hsl(232.31, 66.1%, 11.57%) and in OKLCH oklch(18.898% 0.06737 271.964).

What colors go well with #0a0f31?

The complementary color of #0a0f31 is #1d1200. For a calmer combination use the analogous colors #00152e and #1a092c. The triadic partners are #2b0401 and #001b04.

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

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

Is #0a0f31 a warm or cool color?

#0a0f31 is a cool color. In OKLCH its hue is 272 degrees, its lightness 18.9% and its chroma 0.067.