#5a5998 color: Old Nan Yarn
#5a5998 is rgb(90, 89, 152) in RGB and oklch(49.399% 0.09933 282.859) 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
- Muted
- Cool
- ≈ Denim
- slate-600
- Black 40%
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 #5a5998
#5a5998 is a muted dark indigo color. In OKLCH it has 49.4% lightness, 0.099 chroma and a hue of 283°.
Inside sRGB: displays the same on any screen.
White text on it reaches 6.33:1 contrast and black text 3.32:1, so white text reads better.
The closest named color is Old Nan Yarn (#5e5896). In Tailwind CSS the closest color is slate-600.
Lighter: #5a5998 mixed with white
Darker: #5a5998 mixed with black
Calmer: #5a5998 with less saturation
Similar named colors
Colors that go with #5a5998
Questions about #5a5998
What color is #5a5998?
#5a5998 is muted dark indigo. The closest named color is Old Nan Yarn. In RGB it is rgb(90, 89, 152), in HSL hsl(240.95, 26.14%, 47.25%) and in OKLCH oklch(49.399% 0.09933 282.859).
What colors go well with #5a5998?
The complementary color of #5a5998 is #6c630c. For a calmer combination use the analogous colors #356498 and #754f8a. The triadic partners are #904d30 and #167351.
Is white or black text more readable on #5a5998?
White text reads better on #5a5998: white gives a contrast ratio of 6.33:1 and black gives 3.32:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5a5998 a warm or cool color?
#5a5998 is a cool color. In OKLCH its hue is 283 degrees, its lightness 49.4% and its chroma 0.099.