Skip to the color picker

#1f2972 color: St. Patrick’s Blue

#1f2972 is rgb(31, 41, 114) in RGB and oklch(32.275% 0.12521 271.459) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

233°
100%

32.3%
0.125
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • indigo-900
  • Black 55%

Inside sRGB: displays the same on any screen.

White text
12.98:1Readable · AA
Lc -102
Black text
1.62: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 #1f2972

#1f2972 is a soft dark indigo color. In OKLCH it has 32.3% lightness, 0.125 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

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

The closest named color is St. Patrick’s Blue (#23297a). In Tailwind CSS the closest color is indigo-900.

More dark indigo colors

Lighter: #1f2972 mixed with white

Darker: #1f2972 mixed with black

Calmer: #1f2972 with less saturation

Similar named colors

Colors that go with #1f2972

Complementary
Analogous
Triadic
Split

Questions about #1f2972

What color is #1f2972?

#1f2972 is soft dark indigo. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 41, 114), in HSL hsl(232.77, 57.24%, 28.43%) and in OKLCH oklch(32.275% 0.12521 271.459).

What colors go well with #1f2972?

The complementary color of #1f2972 is #433100. For a calmer combination use the analogous colors #003763 and #401c67. The triadic partners are #650800 and #00430f.

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

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

Is #1f2972 a warm or cool color?

#1f2972 is a cool color. In OKLCH its hue is 271 degrees, its lightness 32.3% and its chroma 0.125.