Skip to the color picker

#1f2757 color: Ultramarine Violet

#1f2757 is rgb(31, 39, 87) in RGB and oklch(29.474% 0.08662 272.842) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

231°
100%

29.5%
0.087
273°
  • Indigo
  • Very dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 66%

Inside sRGB: displays the same on any screen.

White text
14.13:1Readable · AA
Lc -104
Black text
1.49: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 #1f2757

#1f2757 is a soft very dark indigo color. In OKLCH it has 29.5% lightness, 0.087 chroma and a hue of 273°.

Inside sRGB: displays the same on any screen.

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

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

More very dark indigo colors

Lighter: #1f2757 mixed with white

Darker: #1f2757 mixed with black

  1. 000000

Calmer: #1f2757 with less saturation

Similar named colors

Colors that go with #1f2757

Complementary
Analogous
Triadic
Split

Questions about #1f2757

What color is #1f2757?

#1f2757 is soft very dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 39, 87), in HSL hsl(231.43, 47.46%, 23.14%) and in OKLCH oklch(29.474% 0.08662 272.842).

What colors go well with #1f2757?

The complementary color of #1f2757 is #3a2a00. For a calmer combination use the analogous colors #002f54 and #351f4f. The triadic partners are #4f170c and #003815.

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

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

Is #1f2757 a warm or cool color?

#1f2757 is a cool color. In OKLCH its hue is 273 degrees, its lightness 29.5% and its chroma 0.087.