Skip to the color picker

#1f2157 color: Spacescape

#1f2157 is rgb(31, 33, 87) in RGB and oklch(28.152% 0.09564 276.735) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

238°
100%

28.2%
0.096
277°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 66%

Inside sRGB: displays the same on any screen.

White text
14.86:1Readable · AA
Lc -104
Black text
1.41: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 #1f2157

#1f2157 is a soft very dark indigo color. In OKLCH it has 28.2% lightness, 0.096 chroma and a hue of 277°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.86:1 contrast and black text 1.41: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: #1f2157 mixed with white

Darker: #1f2157 mixed with black

  1. 000000

Calmer: #1f2157 with less saturation

Similar named colors

Colors that go with #1f2157

Complementary
Analogous
Triadic
Split

Questions about #1f2157

What color is #1f2157?

#1f2157 is soft very dark indigo. The closest named color is Spacescape. In RGB it is rgb(31, 33, 87), in HSL hsl(237.86, 47.46%, 23.14%) and in OKLCH oklch(28.152% 0.09564 276.735).

What colors go well with #1f2157?

The complementary color of #1f2157 is #342800. For a calmer combination use the analogous colors #002a55 and #36184d. The triadic partners are #4e1000 and #003614.

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

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

Is #1f2157 a warm or cool color?

#1f2157 is a cool color. In OKLCH its hue is 277 degrees, its lightness 28.2% and its chroma 0.096.