#312f7f color: Cosmic Cobalt
#312f7f is rgb(49, 47, 127) in RGB and oklch(35.884% 0.13122 278.592) 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 50%
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 #312f7f
#312f7f is a soft dark indigo color. In OKLCH it has 35.9% lightness, 0.131 chroma and a hue of 279°.
Inside sRGB: displays the same on any screen.
White text on it reaches 11.39:1 contrast and black text 1.84:1, so white text reads better.
The closest named color is Cosmic Cobalt (#2e2d88). In Tailwind CSS the closest color is indigo-900.
Lighter: #312f7f mixed with white
Darker: #312f7f mixed with black
Calmer: #312f7f with less saturation
Similar named colors
Colors that go with #312f7f
Questions about #312f7f
What color is #312f7f?
#312f7f is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 47, 127), in HSL hsl(241.5, 45.98%, 34.12%) and in OKLCH oklch(35.884% 0.13122 278.592).
What colors go well with #312f7f?
The complementary color of #312f7f is #4a3c00. For a calmer combination use the analogous colors #003d7d and #502270. The triadic partners are #711600 and #004d26.
Is white or black text more readable on #312f7f?
White text reads better on #312f7f: white gives a contrast ratio of 11.39:1 and black gives 1.84:1. WCAG AA asks for at least 4.5:1 for body text.
Is #312f7f a warm or cool color?
#312f7f is a cool color. In OKLCH its hue is 279 degrees, its lightness 35.9% and its chroma 0.131.