# #5174d8 color: Cornflower

#5174d8 is rgb(81, 116, 216) in RGB and oklch(58.35% 0.15788 266.96) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5174d8 |
| RGB | rgb(81, 116, 216) |
| HSL | hsl(224.44, 63.38%, 58.24%) |
| HSB / HSV | hsv(224.44 62.5% 84.71%) |
| HWB | hwb(224.44 31.76% 15.29%) |
| CMYK | cmyk(63% 46% 0% 15%) |
| Lab | lab(50.11 11.68 -56.21) |
| LCH | lch(50.11 57.41 281.74) |
| OKLab | oklab(58.35% -0.00837 -0.15766) |
| OKLCH | oklch(58.35% 0.15788 266.96) |
| Display P3 | color(display-p3 0.34696 0.45115 0.82057) |
| Rec. 2020 | color(rec2020 0.35287 0.40126 0.79473) |
| Adobe RGB | color(a98-rgb 0.3644 0.45228 0.83103) |
| ProPhoto RGB | color(prophoto-rgb 0.40639 0.38569 0.76418) |
| Linear sRGB | color(srgb-linear 0.08228 0.17465 0.68669) |
| XYZ D65 | color(xyz-d65 0.22032 0.19197 0.67512) |
| XYZ D50 | color(xyz-d50 0.2014 0.18514 0.50846) |
| SwiftUI | Color(red: 0.318, green: 0.455, blue: 0.847) |
| UIKit | UIColor(red: 0.318, green: 0.455, blue: 0.847, alpha: 1) |
| Flutter / Compose | Color(0xFF5174D8) |
| Android XML | #5174D8 |

## 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.34:1
- Contrast with black: 4.84:1

## Tints

#5174d8, #6182dd, #7191e2, #829fe6, #93aceb, #a4baef, #b6c8f3, #c8d6f6, #dae3f9, #ecf1fc

## Shades

#5174d8, #4564bc, #3a54a0, #2f4585, #24376b, #1a2953, #101b3b, #070f25, #020511, #000102

## Tones

#5174d8, #5576cf, #5977c6, #5e78bd, #6279b4, #667aab, #6a7ba2, #6f7b98, #737b8f, #777b85

## Harmonies

- Complementary: #5174d8, #9e7400
- Split: #5174d8, #be5c00, #768600
- Analogous: #5174d8, #0085c9, #8763cc
- Triadic: #5174d8, #c84d45, #23933d
- Tetradic: #5174d8, #aa54ab, #9e7400, #23933d
- Square: #5174d8, #c14b7d, #9e7400, #00937a
- Monochromatic: #5174d8, #152b89, #314fb0, #739aff, #a5c3ff

## Questions about #5174d8

### What color is #5174d8?

#5174d8 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 116, 216), in HSL hsl(224.44, 63.38%, 58.24%) and in OKLCH oklch(58.35% 0.15788 266.96).

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

The complementary color of #5174d8 is #9e7400. For a calmer combination use the analogous colors #0085c9 and #8763cc. The triadic partners are #c84d45 and #23933d.

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

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

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

#5174d8 is a cool color. In OKLCH its hue is 267 degrees, its lightness 58.4% and its chroma 0.158.
