# #5174d5 color: Cornflower

#5174d5 is rgb(81, 116, 213) in RGB and oklch(58.156% 0.15376 266.712) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5174d5

## Formats

| Format | Value |
| --- | --- |
| HEX | #5174d5 |
| RGB | rgb(81, 116, 213) |
| HSL | hsl(224.09, 61.11%, 57.65%) |
| HSB / HSV | hsv(224.09 61.97% 83.53%) |
| HWB | hwb(224.09 31.76% 16.47%) |
| CMYK | cmyk(62% 46% 0% 16%) |
| Lab | lab(49.96 10.84 -54.76) |
| LCH | lch(49.96 55.82 281.2) |
| OKLab | oklab(58.156% -0.00882 -0.15351) |
| OKLCH | oklch(58.156% 0.15376 266.712) |
| Display P3 | color(display-p3 0.34696 0.45115 0.80941) |
| Rec. 2020 | color(rec2020 0.35151 0.40095 0.78248) |
| Adobe RGB | color(a98-rgb 0.3644 0.45228 0.81934) |
| ProPhoto RGB | color(prophoto-rgb 0.40296 0.38498 0.75139) |
| Linear sRGB | color(srgb-linear 0.08228 0.17465 0.66539) |
| XYZ D65 | color(xyz-d65 0.21647 0.19043 0.65488) |
| XYZ D50 | color(xyz-d50 0.19835 0.18385 0.49325) |
| SwiftUI | Color(red: 0.318, green: 0.455, blue: 0.835) |
| UIKit | UIColor(red: 0.318, green: 0.455, blue: 0.835, alpha: 1) |
| Flutter / Compose | Color(0xFF5174D5) |
| Android XML | #5174D5 |

## Facts

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

## Tints

#5174d5, #6182da, #7190df, #829ee4, #93ace9, #a4baed, #b6c8f1, #c8d6f5, #dae3f9, #ecf1fc

## Shades

#5174d5, #4564b9, #3a549e, #2f4583, #24376a, #1a2951, #101b3a, #070f24, #020510, #000102

## Tones

#5174d5, #5576cc, #5977c4, #5e78bb, #6279b2, #667aa9, #6a7aa0, #6e7a97, #727b8e, #777b84

## Harmonies

- Complementary: #5174d5, #9e7300
- Split: #5174d5, #bc5d00, #768500
- Analogous: #5174d5, #0085c8, #8563ca
- Triadic: #5174d5, #c54f47, #29923e
- Tetradic: #5174d5, #a855aa, #9e7300, #29923e
- Square: #5174d5, #be4d7c, #9e7300, #009379
- Monochromatic: #5174d5, #152b86, #3150ad, #739afe, #a4c3ff

## Questions about #5174d5

### What color is #5174d5?

#5174d5 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 116, 213), in HSL hsl(224.09, 61.11%, 57.65%) and in OKLCH oklch(58.156% 0.15376 266.712).

### What colors go well with #5174d5?

The complementary color of #5174d5 is #9e7300. For a calmer combination use the analogous colors #0085c8 and #8563ca. The triadic partners are #c54f47 and #29923e.

### Is white or black text more readable on #5174d5?

White text reads better on #5174d5: white gives a contrast ratio of 4.37:1 and black gives 4.81:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5174d5 a warm or cool color?

#5174d5 is a cool color. In OKLCH its hue is 267 degrees, its lightness 58.2% and its chroma 0.154.
