Skip to the color picker

#1f1f51 color: Fly-by-Night

#1f1f51 is rgb(31, 31, 81) in RGB and oklch(27.198% 0.08919 278.677) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

240°
100%

27.2%
0.089
279°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
15.29:1Readable · AA
Lc -105
Black text
1.37: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 #1f1f51

#1f1f51 is a soft very dark indigo color. In OKLCH it has 27.2% lightness, 0.089 chroma and a hue of 279°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Fly-by-Night (#1c1e4d). In Tailwind CSS the closest color is indigo-950.

More very dark indigo colors

Lighter: #1f1f51 mixed with white

Darker: #1f1f51 mixed with black

  1. 000000

Calmer: #1f1f51 with less saturation

Similar named colors

Colors that go with #1f1f51

Complementary
Analogous
Triadic
Split

Questions about #1f1f51

What color is #1f1f51?

#1f1f51 is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 31, 81), in HSL hsl(240, 44.64%, 21.96%) and in OKLCH oklch(27.198% 0.08919 278.677).

What colors go well with #1f1f51?

The complementary color of #1f1f51 is #312600. For a calmer combination use the analogous colors #002850 and #331747. The triadic partners are #491100 and #003315.

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

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

Is #1f1f51 a warm or cool color?

#1f1f51 is a cool color. In OKLCH its hue is 279 degrees, its lightness 27.2% and its chroma 0.089.