#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
- 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 #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.
Lighter: #313a7e mixed with white
Darker: #313a7e mixed with black
Calmer: #313a7e with less saturation
Similar named colors
Colors that go with #313a7e
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.