Skip to the color picker

#1f2e7f color: Bavarian Blue

#1f2e7f is rgb(31, 46, 127) in RGB and oklch(34.494% 0.13738 269.567) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

231°
100%

34.5%
0.137
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-900
  • Black 50%

Inside sRGB: displays the same on any screen.

White text
11.96:1Readable · AA
Lc -101
Black text
1.76: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 #1f2e7f

#1f2e7f is a soft dark blue color. In OKLCH it has 34.5% lightness, 0.137 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Bavarian Blue (#1c3382). In Tailwind CSS the closest color is indigo-900.

More dark blue colors

Lighter: #1f2e7f mixed with white

Darker: #1f2e7f mixed with black

Calmer: #1f2e7f with less saturation

Similar named colors

Colors that go with #1f2e7f

Complementary
Analogous
Triadic
Split

Questions about #1f2e7f

What color is #1f2e7f?

#1f2e7f is soft dark blue. The closest named color is Bavarian Blue. In RGB it is rgb(31, 46, 127), in HSL hsl(230.63, 60.76%, 30.98%) and in OKLCH oklch(34.494% 0.13738 269.567).

What colors go well with #1f2e7f?

The complementary color of #1f2e7f is #4b3600. For a calmer combination use the analogous colors #003e69 and #451f74. The triadic partners are #700502 and #004a0a.

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

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

Is #1f2e7f a warm or cool color?

#1f2e7f is a cool color. In OKLCH its hue is 270 degrees, its lightness 34.5% and its chroma 0.137.