Skip to the color picker

#1a1f51 color: Fly-by-Night

#1a1f51 is rgb(26, 31, 81) in RGB and oklch(26.797% 0.09053 274.242) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

235°
100%

26.8%
0.091
274°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-950
  • Black 68%

Inside sRGB: displays the same on any screen.

White text
15.46:1Readable · AA
Lc -105
Black text
1.36: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 #1a1f51

#1a1f51 is a soft very dark indigo color. In OKLCH it has 26.8% lightness, 0.091 chroma and a hue of 274°.

Inside sRGB: displays the same on any screen.

White text on it reaches 15.46:1 contrast and black text 1.36: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: #1a1f51 mixed with white

Darker: #1a1f51 mixed with black

  1. 000000

Calmer: #1a1f51 with less saturation

Similar named colors

Colors that go with #1a1f51

Complementary
Analogous
Triadic
Split

Questions about #1a1f51

What color is #1a1f51?

#1a1f51 is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(26, 31, 81), in HSL hsl(234.55, 51.4%, 20.98%) and in OKLCH oklch(26.797% 0.09053 274.242).

What colors go well with #1a1f51?

The complementary color of #1a1f51 is #322400. For a calmer combination use the analogous colors #00284e and #301749. The triadic partners are #480e02 and #00320f.

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

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

Is #1a1f51 a warm or cool color?

#1a1f51 is a cool color. In OKLCH its hue is 274 degrees, its lightness 26.8% and its chroma 0.091.