#312c85 color: Cosmic Cobalt
#312c85 is rgb(49, 44, 133) in RGB and oklch(35.88% 0.14362 278.812) 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 48%
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 #312c85
#312c85 is a soft dark indigo color. In OKLCH it has 35.9% lightness, 0.144 chroma and a hue of 279°.
Inside sRGB: displays the same on any screen.
White text on it reaches 11.48:1 contrast and black text 1.83:1, so white text reads better.
The closest named color is Cosmic Cobalt (#2e2d88). In Tailwind CSS the closest color is indigo-900.
Lighter: #312c85 mixed with white
Darker: #312c85 mixed with black
Calmer: #312c85 with less saturation
Questions about #312c85
What color is #312c85?
#312c85 is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(49, 44, 133), in HSL hsl(243.37, 50.28%, 34.71%) and in OKLCH oklch(35.88% 0.14362 278.812).
What colors go well with #312c85?
The complementary color of #312c85 is #493c00. For a calmer combination use the analogous colors #003d7e and #521d74. The triadic partners are #750c00 and #004d26.
Is white or black text more readable on #312c85?
White text reads better on #312c85: white gives a contrast ratio of 11.48:1 and black gives 1.83:1. WCAG AA asks for at least 4.5:1 for body text.
Is #312c85 a warm or cool color?
#312c85 is a cool color. In OKLCH its hue is 279 degrees, its lightness 35.9% and its chroma 0.144.