Skip to the color picker

#1f2b5f color: Mythical Night

#1f2b5f is rgb(31, 43, 95) in RGB and oklch(31.037% 0.09351 270.343) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

31%
0.094
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 63%

Inside sRGB: displays the same on any screen.

White text
13.38:1Readable · AA
Lc -103
Black text
1.57: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 #1f2b5f

#1f2b5f is a soft dark blue color. In OKLCH it has 31% lightness, 0.094 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Mythical Night (#1c2e63). In Tailwind CSS the closest color is blue-950.

More dark blue colors

Lighter: #1f2b5f mixed with white

Darker: #1f2b5f mixed with black

  1. 000000

Calmer: #1f2b5f with less saturation

Similar named colors

Colors that go with #1f2b5f

Complementary
Analogous
Triadic
Split

Questions about #1f2b5f

What color is #1f2b5f?

#1f2b5f is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 43, 95), in HSL hsl(228.75, 50.79%, 24.71%) and in OKLCH oklch(31.037% 0.09351 270.343).

What colors go well with #1f2b5f?

The complementary color of #1f2b5f is #402d00. For a calmer combination use the analogous colors #00345a and #392258. The triadic partners are #561810 and #003d14.

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

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

Is #1f2b5f a warm or cool color?

#1f2b5f is a cool color. In OKLCH its hue is 270 degrees, its lightness 31% and its chroma 0.094.