Skip to the color picker

#31407d color: Evening Magic

#31407d is rgb(49, 64, 125) in RGB and oklch(39.226% 0.1044 270.564) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

39.2%
0.104
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
9.72:1Readable · AA
Lc -97
Black text
2.16:1Hard to read
Lc 12

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #31407d

#31407d is a soft dark indigo color. In OKLCH it has 39.2% lightness, 0.104 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Evening Magic (#363e7d). In Tailwind CSS the closest color is blue-900.

More dark indigo colors

Lighter: #31407d mixed with white

  1. 31407d
  2. 42528a
  3. 556497
  4. 6877a4
  5. 7c89b2
  6. 919cbf
  7. a6afcb
  8. bbc3d8
  9. d2d7e5
  10. e8ebf2

Darker: #31407d mixed with black

  1. 31407d
  2. 29366c
  3. 222d5b
  4. 1a244b
  5. 131b3b
  6. 0c132c
  7. 060b1e
  8. 030511
  9. 010105
  10. 000001

Calmer: #31407d with less saturation

  1. 31407d
  2. 334178
  3. 354272
  4. 37436d
  5. 394467
  6. 3b4462
  7. 3d455c
  8. 3f4557
  9. 414551
  10. 43454b

Questions about #31407d

What color is #31407d?

#31407d is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 64, 125), in HSL hsl(228.16, 43.68%, 34.12%) and in OKLCH oklch(39.226% 0.1044 270.564).

What colors go well with #31407d?

The complementary color of #31407d is #5a4200. For a calmer combination use the analogous colors #004b77 and #4f3674. The triadic partners are #732b21 and #045426.

Is white or black text more readable on #31407d?

White text reads better on #31407d: white gives a contrast ratio of 9.72:1 and black gives 2.16:1. WCAG AA asks for at least 4.5:1 for body text.

Is #31407d a warm or cool color?

#31407d is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.2% and its chroma 0.104.