Skip to the color picker

#5871d8 color: Cornflower

#5871d8 is rgb(88, 113, 216) in RGB and oklch(58.136% 0.15946 270.506) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

58.1%
0.159
271°
  • Indigo
  • Medium
  • Soft
  • Cool
  • ≈ Royal blue
  • blue-500
  • Black 15%

Inside sRGB: displays the same on any screen.

White text
4.40:1Hard to read
Lc -76
Black text
4.77:1Readable · AA
Lc 34

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 #5871d8

#5871d8 is a soft indigo color. In OKLCH it has 58.1% lightness, 0.159 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

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

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

More medium indigo colors

Lighter: #5871d8 mixed with white

Darker: #5871d8 mixed with black

Calmer: #5871d8 with less saturation

Similar named colors

Colors that go with #5871d8

Complementary
Analogous
Triadic
Split

Questions about #5871d8

What color is #5871d8?

#5871d8 is soft indigo. The closest named color is Cornflower. In RGB it is rgb(88, 113, 216), in HSL hsl(228.28, 62.14%, 59.61%) and in OKLCH oklch(58.136% 0.15946 270.506).

What colors go well with #5871d8?

The complementary color of #5871d8 is #9a7500. For a calmer combination use the analogous colors #0083cf and #8b60c9. The triadic partners are #c74d3c and #009444.

Is white or black text more readable on #5871d8?

White text reads better on #5871d8: white gives a contrast ratio of 4.4:1 and black gives 4.77:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5871d8 a warm or cool color?

#5871d8 is a cool color. In OKLCH its hue is 271 degrees, its lightness 58.1% and its chroma 0.159.