# #5a74d8 color: Cornflower

#5a74d8 is rgb(90, 116, 216) in RGB and oklch(58.855% 0.15509 270.117) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a74d8 |
| RGB | rgb(90, 116, 216) |
| HSL | hsl(227.62, 61.76%, 60%) |
| HSB / HSV | hsv(227.62 58.33% 84.71%) |
| HWB | hwb(227.62 35.29% 15.29%) |
| CMYK | cmyk(58% 46% 0% 15%) |
| Lab | lab(50.64 13.64 -55.33) |
| LCH | lch(50.64 56.99 283.84) |
| OKLab | oklab(58.855% 0.00032 -0.15509) |
| OKLCH | oklch(58.855% 0.15509 270.117) |
| Display P3 | color(display-p3 0.37358 0.45197 0.82077) |
| Rec. 2020 | color(rec2020 0.37078 0.40304 0.79493) |
| Adobe RGB | color(a98-rgb 0.38544 0.45228 0.83103) |
| ProPhoto RGB | color(prophoto-rgb 0.41831 0.38802 0.76441) |
| Linear sRGB | color(srgb-linear 0.10224 0.17465 0.68669) |
| XYZ D65 | color(xyz-d65 0.22855 0.19622 0.67551) |
| XYZ D50 | color(xyz-d50 0.2101 0.18958 0.50874) |
| SwiftUI | Color(red: 0.353, green: 0.455, blue: 0.847) |
| UIKit | UIColor(red: 0.353, green: 0.455, blue: 0.847, alpha: 1) |
| Flutter / Compose | Color(0xFF5A74D8) |
| Android XML | #5A74D8 |

## Facts

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

## Tints

#5a74d8, #6982dd, #7891e2, #889ee6, #98aceb, #a8baef, #b9c8f2, #cad6f6, #dce3f9, #edf1fc

## Shades

#5a74d8, #4d64bc, #4154a0, #354585, #29376b, #1e2953, #131b3b, #090f25, #030511, #000102

## Tones

#5a74d8, #5d76cf, #6177c6, #6479bd, #677ab5, #6b7bac, #6e7ba2, #727c99, #757c90, #797d86

## Harmonies

- Complementary: #5a74d8, #9d7700
- Split: #5a74d8, #bd6100, #728900
- Analogous: #5a74d8, #0085ce, #8c63ca
- Triadic: #5a74d8, #c85141, #169547
- Tetradic: #5a74d8, #ae55a8, #9d7700, #169547
- Square: #5a74d8, #c34e79, #9d7700, #009480
- Monochromatic: #5a74d8, #1f2b89, #3a4fb0, #7c9aff, #acc4ff

## Questions about #5a74d8

### What color is #5a74d8?

#5a74d8 is soft blue. The closest named color is Cornflower. In RGB it is rgb(90, 116, 216), in HSL hsl(227.62, 61.76%, 60%) and in OKLCH oklch(58.855% 0.15509 270.117).

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

The complementary color of #5a74d8 is #9d7700. For a calmer combination use the analogous colors #0085ce and #8c63ca. The triadic partners are #c85141 and #169547.

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

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

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

#5a74d8 is a cool color. In OKLCH its hue is 270 degrees, its lightness 58.9% and its chroma 0.155.
