Skip to the color picker

#1f2a5a color: Ultramarine Violet

#1f2a5a is rgb(31, 42, 90) in RGB and oklch(30.405% 0.08699 270.734) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

30.4%
0.087
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 65%

Inside sRGB: displays the same on any screen.

White text
13.66:1Readable · AA
Lc -103
Black text
1.54: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 #1f2a5a

#1f2a5a is a soft dark indigo color. In OKLCH it has 30.4% lightness, 0.087 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Ultramarine Violet (#1d2a58). In Tailwind CSS the closest color is blue-950.

More dark indigo colors

Lighter: #1f2a5a mixed with white

Darker: #1f2a5a mixed with black

  1. 000000

Calmer: #1f2a5a with less saturation

Similar named colors

Colors that go with #1f2a5a

Complementary
Analogous
Triadic
Split

Questions about #1f2a5a

What color is #1f2a5a?

#1f2a5a is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 42, 90), in HSL hsl(228.81, 48.76%, 23.73%) and in OKLCH oklch(30.405% 0.08699 270.734).

What colors go well with #1f2a5a?

The complementary color of #1f2a5a is #3e2c00. For a calmer combination use the analogous colors #003256 and #372253. The triadic partners are #521911 and #003a15.

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

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

Is #1f2a5a a warm or cool color?

#1f2a5a is a cool color. In OKLCH its hue is 271 degrees, its lightness 30.4% and its chroma 0.087.