Skip to the color picker

#31407c color: Evening Magic

#31407c is rgb(49, 64, 124) in RGB and oklch(39.154% 0.10286 270.489) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

39.2%
0.103
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 51%

Inside sRGB: displays the same on any screen.

White text
9.74:1Readable · AA
Lc -97
Black text
2.15: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 #31407c

#31407c is a soft dark blue color. In OKLCH it has 39.2% lightness, 0.103 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.74:1 contrast and black text 2.15: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 blue colors

Lighter: #31407c mixed with white

  1. 31407c
  2. 425289
  3. 556497
  4. 6877a4
  5. 7c89b1
  6. 919cbe
  7. a6afcb
  8. bbc3d8
  9. d2d7e5
  10. e8ebf2

Darker: #31407c mixed with black

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

Calmer: #31407c with less saturation

  1. 31407c
  2. 334177
  3. 354271
  4. 37436c
  5. 394367
  6. 3b4461
  7. 3d445c
  8. 3f4556
  9. 414551
  10. 43454b

Questions about #31407c

What color is #31407c?

#31407c is soft dark blue. The closest named color is Evening Magic. In RGB it is rgb(49, 64, 124), in HSL hsl(228, 43.35%, 33.92%) and in OKLCH oklch(39.154% 0.10286 270.489).

What colors go well with #31407c?

The complementary color of #31407c is #5a4200. For a calmer combination use the analogous colors #004a76 and #4f3673. The triadic partners are #732b21 and #075426.

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

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

Is #31407c a warm or cool color?

#31407c is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.2% and its chroma 0.103.