#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
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- 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 #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.
Lighter: #31407c mixed with white
Darker: #31407c mixed with black
Calmer: #31407c with less saturation
Similar named colors
Colors that go with #31407c
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.