Skip to the color picker

#5a6cd1 color: Cornflower

#5a6cd1 is rgb(90, 108, 209) in RGB and oklch(56.803% 0.15556 272.888) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

231°
100%

56.8%
0.156
273°
  • Indigo
  • Medium
  • Soft
  • Cool
  • ≈ Royal blue
  • indigo-500
  • Black 18%

Inside sRGB: displays the same on any screen.

White text
4.67:1Readable · AA
Lc -78
Black text
4.50:1Readable · AA
Lc 32

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

#5a6cd1 is a soft indigo color. In OKLCH it has 56.8% lightness, 0.156 chroma and a hue of 273°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cornflower (#5170d7). In Tailwind CSS the closest color is indigo-500.

More medium indigo colors

Lighter: #5a6cd1 mixed with white

Darker: #5a6cd1 mixed with black

Calmer: #5a6cd1 with less saturation

Similar named colors

Colors that go with #5a6cd1

Complementary
Analogous
Triadic
Split

Questions about #5a6cd1

What color is #5a6cd1?

#5a6cd1 is soft indigo. The closest named color is Cornflower. In RGB it is rgb(90, 108, 209), in HSL hsl(230.92, 56.4%, 58.63%) and in OKLCH oklch(56.803% 0.15556 272.888).

What colors go well with #5a6cd1?

The complementary color of #5a6cd1 is #927300. For a calmer combination use the analogous colors #007dca and #8a5bc1. The triadic partners are #c14c35 and #009047.

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

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

Is #5a6cd1 a warm or cool color?

#5a6cd1 is a cool color. In OKLCH its hue is 273 degrees, its lightness 56.8% and its chroma 0.156.