#313f7e color: Evening Magic
#313f7e is rgb(49, 63, 126) in RGB and oklch(39.077% 0.10732 271.235) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- Dark
- Soft
- Cool
- ≈ Cobalt
- blue-900
- Black 51%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #313f7e
#313f7e is a soft dark indigo color. In OKLCH it has 39.1% lightness, 0.107 chroma and a hue of 271°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.8: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.
Lighter: #313f7e mixed with white
Darker: #313f7e mixed with black
Calmer: #313f7e with less saturation
Similar named colors
Colors that go with #313f7e
Questions about #313f7e
What color is #313f7e?
#313f7e is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 63, 126), in HSL hsl(229.09, 44%, 34.31%) and in OKLCH oklch(39.077% 0.10732 271.235).
What colors go well with #313f7e?
The complementary color of #313f7e is #594200. For a calmer combination use the analogous colors #004a79 and #503475. The triadic partners are #742a1e and #005525.
Is white or black text more readable on #313f7e?
White text reads better on #313f7e: white gives a contrast ratio of 9.8:1 and black gives 2.14:1. WCAG AA asks for at least 4.5:1 for body text.
Is #313f7e a warm or cool color?
#313f7e is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.1% and its chroma 0.107.