Skip to the color picker

#313f7d color: Evening Magic

#313f7d is rgb(49, 63, 125) in RGB and oklch(39.005% 0.1058 271.18) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

39%
0.106
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
9.82:1Readable · AA
Lc -97
Black text
2.14:1Hard to read
Lc 11

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 #313f7d

#313f7d is a soft dark indigo color. In OKLCH it has 39% lightness, 0.106 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.82:1 contrast and black text 2.14: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: #313f7d mixed with white

  1. 313f7d
  2. 42518a
  3. 556397
  4. 6876a5
  5. 7c89b2
  6. 919cbf
  7. a6afcc
  8. bbc3d8
  9. d1d6e5
  10. e8ebf2

Darker: #313f7d mixed with black

  1. 313f7d
  2. 29356c
  3. 222c5b
  4. 1a234b
  5. 131b3b
  6. 0c122c
  7. 060a1e
  8. 030411
  9. 010105
  10. 000001

Calmer: #313f7d with less saturation

  1. 313f7d
  2. 334078
  3. 354172
  4. 37426d
  5. 394367
  6. 3b4362
  7. 3d445c
  8. 3f4456
  9. 414551
  10. 43454b

Questions about #313f7d

What color is #313f7d?

#313f7d is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 63, 125), in HSL hsl(228.95, 43.68%, 34.12%) and in OKLCH oklch(39.005% 0.1058 271.18).

What colors go well with #313f7d?

The complementary color of #313f7d is #594200. For a calmer combination use the analogous colors #004a78 and #4f3574. The triadic partners are #732a1f and #005425.

Is white or black text more readable on #313f7d?

White text reads better on #313f7d: white gives a contrast ratio of 9.82:1 and black gives 2.14:1. WCAG AA asks for at least 4.5:1 for body text.

Is #313f7d a warm or cool color?

#313f7d is a cool color. In OKLCH its hue is 271 degrees, its lightness 39% and its chroma 0.106.