Skip to the color picker

#1f2251 color: Spacescape

#1f2251 is rgb(31, 34, 81) in RGB and oklch(27.852% 0.08454 276.664) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

236°
100%

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

Inside sRGB: displays the same on any screen.

White text
14.94: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 #1f2251

#1f2251 is a soft very dark indigo color. In OKLCH it has 27.9% lightness, 0.085 chroma and a hue of 277°.

Inside sRGB: displays the same on any screen.

White text on it reaches 14.94: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: #1f2251 mixed with white

Darker: #1f2251 mixed with black

  1. 000000

Calmer: #1f2251 with less saturation

Similar named colors

Colors that go with #1f2251

Complementary
Analogous
Triadic
Split

Questions about #1f2251

What color is #1f2251?

#1f2251 is soft very dark indigo. The closest named color is Spacescape. In RGB it is rgb(31, 34, 81), in HSL hsl(236.4, 44.64%, 21.96%) and in OKLCH oklch(27.852% 0.08454 276.664).

What colors go well with #1f2251?

The complementary color of #1f2251 is #332700. For a calmer combination use the analogous colors #002a4f and #331a48. The triadic partners are #491405 and #003416.

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

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

Is #1f2251 a warm or cool color?

#1f2251 is a cool color. In OKLCH its hue is 277 degrees, its lightness 27.9% and its chroma 0.085.