#5a5f99 color: Wizard’s Potion
#5a5f99 is rgb(90, 95, 153) in RGB and oklch(50.712% 0.09188 278.827) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- Medium
- Muted
- Cool
- ≈ Denim
- slate-500
- Black 40%
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 #5a5f99
#5a5f99 is a muted indigo color. In OKLCH it has 50.7% lightness, 0.092 chroma and a hue of 279°.
Inside sRGB: displays the same on any screen.
White text on it reaches 5.95:1 contrast and black text 3.53:1, so white text reads better.
The closest named color is Wizard’s Potion (#5d6098). In Tailwind CSS the closest color is slate-500.
Lighter: #5a5f99 mixed with white
Darker: #5a5f99 mixed with black
Calmer: #5a5f99 with less saturation
Similar named colors
Colors that go with #5a5f99
Questions about #5a5f99
What color is #5a5f99?
#5a5f99 is muted indigo. The closest named color is Wizard’s Potion. In RGB it is rgb(90, 95, 153), in HSL hsl(235.24, 25.93%, 47.65%) and in OKLCH oklch(50.712% 0.09188 278.827).
What colors go well with #5a5f99?
The complementary color of #5a5f99 is #73661d. For a calmer combination use the analogous colors #376997 and #74568d. The triadic partners are #91513c and #2d7552.
Is white or black text more readable on #5a5f99?
White text reads better on #5a5f99: white gives a contrast ratio of 5.95:1 and black gives 3.53:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5a5f99 a warm or cool color?
#5a5f99 is a cool color. In OKLCH its hue is 279 degrees, its lightness 50.7% and its chroma 0.092.