#312e7e color: Cosmic Cobalt
#312e7e is rgb(49, 46, 126) in RGB and oklch(35.61% 0.13115 279.062) 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
- ≈ Midnight blue
- indigo-900
- Black 51%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #312e7e
#312e7e is a soft dark indigo color. In OKLCH it has 35.6% lightness, 0.131 chroma and a hue of 279°.
Inside sRGB: displays the same on any screen.
White text on it reaches 11.52:1 contrast and black text 1.82:1, so white text reads better.
The closest named color is Cosmic Cobalt (#2e2d88). In Tailwind CSS the closest color is indigo-900.
Lighter: #312e7e mixed with white
Darker: #312e7e mixed with black
Calmer: #312e7e with less saturation
Similar named colors
Colors that go with #312e7e
Questions about #312e7e
What color is #312e7e?
#312e7e is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 46, 126), in HSL hsl(242.25, 46.51%, 33.73%) and in OKLCH oklch(35.61% 0.13115 279.062).
What colors go well with #312e7e?
The complementary color of #312e7e is #493c00. For a calmer combination use the analogous colors #003c7c and #50216f. The triadic partners are #701500 and #004c26.
Is white or black text more readable on #312e7e?
White text reads better on #312e7e: white gives a contrast ratio of 11.52:1 and black gives 1.82:1. WCAG AA asks for at least 4.5:1 for body text.
Is #312e7e a warm or cool color?
#312e7e is a cool color. In OKLCH its hue is 279 degrees, its lightness 35.6% and its chroma 0.131.