Skip to the color picker

#1f2e81 color: Bavarian Blue

#1f2e81 is rgb(31, 46, 129) in RGB and oklch(34.682% 0.14022 269.556) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

231°
100%

34.7%
0.140
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-900
  • Black 49%

Inside sRGB: displays the same on any screen.

White text
11.89:1Readable · AA
Lc -100
Black text
1.77: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 #1f2e81

#1f2e81 is a soft dark blue color. In OKLCH it has 34.7% lightness, 0.14 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.89:1 contrast and black text 1.77: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: #1f2e81 mixed with white

Darker: #1f2e81 mixed with black

Calmer: #1f2e81 with less saturation

Similar named colors

Colors that go with #1f2e81

Complementary
Analogous
Triadic
Split

Questions about #1f2e81

What color is #1f2e81?

#1f2e81 is soft dark blue. The closest named color is Bavarian Blue. In RGB it is rgb(31, 46, 129), in HSL hsl(230.82, 61.25%, 31.37%) and in OKLCH oklch(34.682% 0.14022 269.556).

What colors go well with #1f2e81?

The complementary color of #1f2e81 is #4c3600. For a calmer combination use the analogous colors #003e6a and #461f76. The triadic partners are #710300 and #004a0b.

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

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

Is #1f2e81 a warm or cool color?

#1f2e81 is a cool color. In OKLCH its hue is 270 degrees, its lightness 34.7% and its chroma 0.14.