#342d8a color: Cosmic Cobalt
#342d8a is rgb(52, 45, 138) in RGB and oklch(36.753% 0.14857 279.541) 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
- ≈ Indigo
- indigo-900
- Black 46%
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 #342d8a
#342d8a is a soft dark indigo color. In OKLCH it has 36.8% lightness, 0.149 chroma and a hue of 280°.
Inside sRGB: displays the same on any screen.
White text on it reaches 11.12:1 contrast and black text 1.89:1, so white text reads better.
The closest named color is Cosmic Cobalt (#2e2d88). In Tailwind CSS the closest color is indigo-900.
Lighter: #342d8a mixed with white
Darker: #342d8a mixed with black
Calmer: #342d8a with less saturation
Similar named colors
Colors that go with #342d8a
Questions about #342d8a
What color is #342d8a?
#342d8a is soft dark indigo. The closest named color is Cosmic Cobalt. In RGB it is rgb(52, 45, 138), in HSL hsl(244.52, 50.82%, 35.88%) and in OKLCH oklch(36.753% 0.14857 279.541).
What colors go well with #342d8a?
The complementary color of #342d8a is #4c3f00. For a calmer combination use the analogous colors #003f84 and #561d78. The triadic partners are #790f00 and #004f29.
Is white or black text more readable on #342d8a?
White text reads better on #342d8a: white gives a contrast ratio of 11.12:1 and black gives 1.89:1. WCAG AA asks for at least 4.5:1 for body text.
Is #342d8a a warm or cool color?
#342d8a is a cool color. In OKLCH its hue is 280 degrees, its lightness 36.8% and its chroma 0.149.