Skip to the color picker

#5a5c9d color: Old Nan Yarn

#5a5c9d is rgb(90, 92, 157) in RGB and oklch(50.311% 0.10235 280.714) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

238°
100%

50.3%
0.102
281°
  • Indigo
  • Medium
  • Soft
  • Cool
  • ≈ Denim
  • slate-500
  • Black 38%

Inside sRGB: displays the same on any screen.

White text
6.08:1Readable · AA
Lc -85
Black text
3.45:1Hard to read
Lc 24

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 #5a5c9d

#5a5c9d is a soft indigo color. In OKLCH it has 50.3% lightness, 0.102 chroma and a hue of 281°.

Inside sRGB: displays the same on any screen.

White text on it reaches 6.08:1 contrast and black text 3.45:1, so white text reads better.

The closest named color is Old Nan Yarn (#5e5896). In Tailwind CSS the closest color is slate-500.

More medium indigo colors

Lighter: #5a5c9d mixed with white

Darker: #5a5c9d mixed with black

Calmer: #5a5c9d with less saturation

Similar named colors

Colors that go with #5a5c9d

Complementary
Analogous
Triadic
Split

Questions about #5a5c9d

What color is #5a5c9d?

#5a5c9d is soft indigo. The closest named color is Old Nan Yarn. In RGB it is rgb(90, 92, 157), in HSL hsl(238.21, 27.13%, 48.43%) and in OKLCH oklch(50.311% 0.10235 280.714).

What colors go well with #5a5c9d?

The complementary color of #5a5c9d is #716507. For a calmer combination use the analogous colors #32679c and #77528f. The triadic partners are #944e34 and #1b7650.

Is white or black text more readable on #5a5c9d?

White text reads better on #5a5c9d: white gives a contrast ratio of 6.08:1 and black gives 3.45:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5a5c9d a warm or cool color?

#5a5c9d is a cool color. In OKLCH its hue is 281 degrees, its lightness 50.3% and its chroma 0.102.