# #5174d1 color: Cornflower

#5174d1 is rgb(81, 116, 209) in RGB and oklch(57.9% 0.14824 266.345) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5174d1 |
| RGB | rgb(81, 116, 209) |
| HSL | hsl(223.59, 58.18%, 56.86%) |
| HSB / HSV | hsv(223.59 61.24% 81.96%) |
| HWB | hwb(223.59 31.76% 18.04%) |
| CMYK | cmyk(61% 44% 0% 18%) |
| Lab | lab(49.76 9.73 -52.82) |
| LCH | lch(49.76 53.7 280.44) |
| OKLab | oklab(57.9% -0.00945 -0.14794) |
| OKLCH | oklch(57.9% 0.14824 266.345) |
| Display P3 | color(display-p3 0.34696 0.45115 0.79453) |
| Rec. 2020 | color(rec2020 0.34974 0.40054 0.76617) |
| Adobe RGB | color(a98-rgb 0.3644 0.45228 0.80377) |
| ProPhoto RGB | color(prophoto-rgb 0.39844 0.38404 0.73445) |
| Linear sRGB | color(srgb-linear 0.08228 0.17465 0.6376) |
| XYZ D65 | color(xyz-d65 0.21146 0.18843 0.62846) |
| XYZ D50 | color(xyz-d50 0.19437 0.18216 0.47341) |
| SwiftUI | Color(red: 0.318, green: 0.455, blue: 0.82) |
| UIKit | UIColor(red: 0.318, green: 0.455, blue: 0.82, alpha: 1) |
| Flutter / Compose | Color(0xFF5174D1) |
| Android XML | #5174D1 |

## 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.4:1
- Contrast with black: 4.77:1

## Tints

#5174d1, #6182d7, #7190dc, #829ee1, #93ace6, #a4baeb, #b6c8ef, #c8d5f4, #dae3f8, #ecf1fb

## Shades

#5174d1, #4564b5, #3a549b, #2f4581, #243768, #1a2950, #101b39, #070f23, #020510, #000102

## Tones

#5174d1, #5575c9, #5977c0, #5d78b8, #6278af, #6679a7, #6a799e, #6e7a95, #727a8c, #767a83

## Harmonies

- Complementary: #5174d1, #9d7200
- Split: #5174d1, #b95e00, #768400
- Analogous: #5174d1, #0084c5, #8464c6
- Triadic: #5174d1, #c25049, #2f9040
- Tetradic: #5174d1, #a656a8, #9d7200, #2f9040
- Square: #5174d1, #bb4e7c, #9d7200, #009278
- Monochromatic: #5174d1, #142c83, #3150a9, #7399fa, #a2c2ff

## Questions about #5174d1

### What color is #5174d1?

#5174d1 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 116, 209), in HSL hsl(223.59, 58.18%, 56.86%) and in OKLCH oklch(57.9% 0.14824 266.345).

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

The complementary color of #5174d1 is #9d7200. For a calmer combination use the analogous colors #0084c5 and #8464c6. The triadic partners are #c25049 and #2f9040.

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

White text reads better on #5174d1: 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 #5174d1 a warm or cool color?

#5174d1 is a cool color. In OKLCH its hue is 266 degrees, its lightness 57.9% and its chroma 0.148.
