Skip to the color picker

#1f2151 color: Spacescape

#1f2151 is rgb(31, 33, 81) in RGB and oklch(27.631% 0.08609 277.366) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

238°
100%

27.6%
0.086
277°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
15.06:1Readable · AA
Lc -105
Black text
1.39: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 #1f2151

#1f2151 is a soft very dark indigo color. In OKLCH it has 27.6% lightness, 0.086 chroma and a hue of 277°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Spacescape (#222255). In Tailwind CSS the closest color is blue-950.

More very dark indigo colors

Lighter: #1f2151 mixed with white

Darker: #1f2151 mixed with black

  1. 000000

Calmer: #1f2151 with less saturation

Similar named colors

Colors that go with #1f2151

Complementary
Analogous
Triadic
Split

Questions about #1f2151

What color is #1f2151?

#1f2151 is soft very dark indigo. The closest named color is Spacescape. In RGB it is rgb(31, 33, 81), in HSL hsl(237.6, 44.64%, 21.96%) and in OKLCH oklch(27.631% 0.08609 277.366).

What colors go well with #1f2151?

The complementary color of #1f2151 is #322700. For a calmer combination use the analogous colors #00294f and #331948. The triadic partners are #491303 and #003416.

Is white or black text more readable on #1f2151?

White text reads better on #1f2151: white gives a contrast ratio of 15.06:1 and black gives 1.39:1. WCAG AA asks for at least 4.5:1 for body text.

Is #1f2151 a warm or cool color?

#1f2151 is a cool color. In OKLCH its hue is 277 degrees, its lightness 27.6% and its chroma 0.086.