#31407d color: Evening Magic
#31407d is rgb(49, 64, 125) in RGB and oklch(39.226% 0.1044 270.564) 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 #31407d
#31407d is a soft dark indigo color. In OKLCH it has 39.2% lightness, 0.104 chroma and a hue of 271°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.72:1 contrast and black text 2.16:1, so white text reads better.
The closest named color is Evening Magic (#363e7d). In Tailwind CSS the closest color is blue-900.
Lighter: #31407d mixed with white
Darker: #31407d mixed with black
Calmer: #31407d with less saturation
Similar named colors
Colors that go with #31407d
Questions about #31407d
What color is #31407d?
#31407d is soft dark indigo. The closest named color is Evening Magic. In RGB it is rgb(49, 64, 125), in HSL hsl(228.16, 43.68%, 34.12%) and in OKLCH oklch(39.226% 0.1044 270.564).
What colors go well with #31407d?
The complementary color of #31407d is #5a4200. For a calmer combination use the analogous colors #004b77 and #4f3674. The triadic partners are #732b21 and #045426.
Is white or black text more readable on #31407d?
White text reads better on #31407d: white gives a contrast ratio of 9.72:1 and black gives 2.16:1. WCAG AA asks for at least 4.5:1 for body text.
Is #31407d a warm or cool color?
#31407d is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.2% and its chroma 0.104.