Skip to the color picker

#313a7e color: Evening Magic

#313a7e is rgb(49, 58, 126) in RGB and oklch(38.001% 0.11437 273.978) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

233°
100%

38%
0.114
274°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
10.31:1Readable · AA
Lc -98
Black text
2.04:1Hard to read
Lc 10

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

#313a7e is a soft dark indigo color. In OKLCH it has 38% lightness, 0.114 chroma and a hue of 274°.

Inside sRGB: displays the same on any screen.

White text on it reaches 10.31:1 contrast and black text 2.04: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: #313a7e mixed with white

  1. 313a7e
  2. 424d8b
  3. 546098
  4. 6773a6
  5. 7b86b3
  6. 9099bf
  7. a5adcc
  8. bbc1d9
  9. d1d5e6
  10. e8eaf2

Darker: #313a7e mixed with black

  1. 313a7e
  2. 29316d
  3. 22285c
  4. 1a204c
  5. 13183c
  6. 0c102d
  7. 06091f
  8. 030411
  9. 010105
  10. 000001

Calmer: #313a7e with less saturation

  1. 313a7e
  2. 323c78
  3. 343d72
  4. 353e6d
  5. 373f67
  6. 394061
  7. 3b415b
  8. 3c4155
  9. 3e424f
  10. 404249

Questions about #313a7e

What color is #313a7e?

#313a7e is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 58, 126), in HSL hsl(232.99, 44%, 34.31%) and in OKLCH oklch(38.001% 0.11437 273.978).

What colors go well with #313a7e?

The complementary color of #313a7e is #534000. For a calmer combination use the analogous colors #00467a and #502f73. The triadic partners are #732413 and #005323.

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

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

Is #313a7e a warm or cool color?

#313a7e is a cool color. In OKLCH its hue is 274 degrees, its lightness 38% and its chroma 0.114.