Skip to the color picker

#1f2f76 color: Twilight Express

#1f2f76 is rgb(31, 47, 118) in RGB and oklch(33.875% 0.12303 269.131) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

33.9%
0.123
269°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-900
  • Black 54%

Inside sRGB: displays the same on any screen.

White text
12.16:1Readable · AA
Lc -101
Black text
1.73: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 #1f2f76

#1f2f76 is a soft dark blue color. In OKLCH it has 33.9% lightness, 0.123 chroma and a hue of 269°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Twilight Express (#1c3378). In Tailwind CSS the closest color is indigo-900.

More dark blue colors

Lighter: #1f2f76 mixed with white

Darker: #1f2f76 mixed with black

Calmer: #1f2f76 with less saturation

Similar named colors

Colors that go with #1f2f76

Complementary
Analogous
Triadic
Split

Questions about #1f2f76

What color is #1f2f76?

#1f2f76 is soft dark blue. The closest named color is Twilight Express. In RGB it is rgb(31, 47, 118), in HSL hsl(228.97, 58.39%, 29.22%) and in OKLCH oklch(33.875% 0.12303 269.131).

What colors go well with #1f2f76?

The complementary color of #1f2f76 is #4a3400. For a calmer combination use the analogous colors #003c66 and #42236d. The triadic partners are #69100a and #00470a.

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

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

Is #1f2f76 a warm or cool color?

#1f2f76 is a cool color. In OKLCH its hue is 269 degrees, its lightness 33.9% and its chroma 0.123.