# #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.

Source: https://pickshade.com/color/5871d8

## Formats

| Format | Value |
| --- | --- |
| HEX | #5871d8 |
| RGB | rgb(88, 113, 216) |
| HSL | hsl(228.28, 62.14%, 59.61%) |
| HSB / HSV | hsv(228.28 59.26% 84.71%) |
| HWB | hwb(228.28 34.51% 15.29%) |
| CMYK | cmyk(59% 48% 0% 15%) |
| Lab | lab(49.7 14.92 -56.83) |
| LCH | lch(49.7 58.76 284.71) |
| OKLab | oklab(58.136% 0.00141 -0.15945) |
| OKLCH | oklch(58.136% 0.15946 270.506) |
| Display P3 | color(display-p3 0.36489 0.44031 0.82033) |
| Rec. 2020 | color(rec2020 0.36223 0.39119 0.79435) |
| Adobe RGB | color(a98-rgb 0.37671 0.4409 0.83081) |
| ProPhoto RGB | color(prophoto-rgb 0.41202 0.37752 0.76358) |
| Linear sRGB | color(srgb-linear 0.09759 0.16513 0.68669) |
| XYZ D65 | color(xyz-d65 0.22323 0.18842 0.67429) |
| XYZ D50 | color(xyz-d50 0.20441 0.18172 0.50775) |
| SwiftUI | Color(red: 0.345, green: 0.443, blue: 0.847) |
| UIKit | UIColor(red: 0.345, green: 0.443, blue: 0.847, alpha: 1) |
| Flutter / Compose | Color(0xFF5871D8) |
| Android XML | #5871D8 |

## Facts

- Closest name: Cornflower
- Hue family: Indigo, soft indigo
- Closest Tailwind class: blue-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.4:1
- Contrast with black: 4.77:1

## Tints

#5871d8, #6780dd, #768ee2, #869de6, #96abeb, #a7b9ef, #b8c7f3, #c9d5f6, #dbe3f9, #edf1fc

## Shades

#5871d8, #4b61bc, #3f52a0, #334385, #28356b, #1d2753, #121a3b, #090e25, #030411, #000102

## Tones

#5871d8, #5b73cf, #5e75c6, #6276bd, #6577b4, #6978aa, #6c79a1, #707a98, #737a8e, #777a85

## Harmonies

- Complementary: #5871d8, #9a7500
- Split: #5871d8, #bb5e00, #6f8700
- Analogous: #5871d8, #0083cf, #8b60c9
- Triadic: #5871d8, #c74d3c, #009444
- Tetradic: #5871d8, #ad52a6, #9a7500, #009444
- Square: #5871d8, #c24976, #9a7500, #00927e
- Monochromatic: #5871d8, #1e2789, #394cb0, #7a97ff, #a9c1ff

## 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.
