# #5a71d5 color: Cornflower

#5a71d5 is rgb(90, 113, 213) in RGB and oklch(58.059% 0.15472 271.131) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5a71d5

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a71d5 |
| RGB | rgb(90, 113, 213) |
| HSL | hsl(228.78, 59.42%, 59.41%) |
| HSB / HSV | hsv(228.78 57.75% 83.53%) |
| HWB | hwb(228.78 35.29% 16.47%) |
| CMYK | cmyk(58% 47% 0% 16%) |
| Lab | lab(49.67 14.55 -55.18) |
| LCH | lch(49.67 57.06 284.78) |
| OKLab | oklab(58.059% 0.00305 -0.15469) |
| OKLCH | oklch(58.059% 0.15472 271.131) |
| Display P3 | color(display-p3 0.37094 0.4405 0.80921) |
| Rec. 2020 | color(rec2020 0.36507 0.39129 0.78215) |
| Adobe RGB | color(a98-rgb 0.38155 0.4409 0.81911) |
| ProPhoto RGB | color(prophoto-rgb 0.41142 0.37735 0.75085) |
| Linear sRGB | color(srgb-linear 0.10224 0.16513 0.66539) |
| XYZ D65 | color(xyz-d65 0.2213 0.18787 0.65413) |
| XYZ D50 | color(xyz-d50 0.20339 0.18146 0.49261) |
| SwiftUI | Color(red: 0.353, green: 0.443, blue: 0.835) |
| UIKit | UIColor(red: 0.353, green: 0.443, blue: 0.835, alpha: 1) |
| Flutter / Compose | Color(0xFF5A71D5) |
| Android XML | #5A71D5 |

## Facts

- Closest name: Cornflower
- Hue family: Indigo, soft indigo
- Closest Tailwind class: sky-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.41:1
- Contrast with black: 4.76:1

## Tints

#5a71d5, #6980da, #788edf, #889ce4, #98aae9, #a8b9ed, #b9c7f1, #cad5f5, #dbe3f9, #edf1fc

## Shades

#5a71d5, #4d61b9, #41529e, #354383, #29356a, #1e2751, #131a3a, #090e24, #030410, #000102

## Tones

#5a71d5, #5d73cc, #6074c3, #6376bb, #6677b2, #6978a9, #6d79a0, #707997, #737a8d, #777a84

## Harmonies

- Complementary: #5a71d5, #997600
- Split: #5a71d5, #b95f00, #6e8700
- Analogous: #5a71d5, #0082cc, #8b60c6
- Triadic: #5a71d5, #c54f3d, #049347
- Tetradic: #5a71d5, #ac53a4, #997600, #049347
- Square: #5a71d5, #c04b75, #997600, #00927f
- Monochromatic: #5a71d5, #1f2886, #3b4dad, #7c96fe, #aac0ff

## Questions about #5a71d5

### What color is #5a71d5?

#5a71d5 is soft indigo. The closest named color is Cornflower. In RGB it is rgb(90, 113, 213), in HSL hsl(228.78, 59.42%, 59.41%) and in OKLCH oklch(58.059% 0.15472 271.131).

### What colors go well with #5a71d5?

The complementary color of #5a71d5 is #997600. For a calmer combination use the analogous colors #0082cc and #8b60c6. The triadic partners are #c54f3d and #049347.

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

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

### Is #5a71d5 a warm or cool color?

#5a71d5 is a cool color. In OKLCH its hue is 271 degrees, its lightness 58.1% and its chroma 0.155.
