# #5172cc color: Cornflower

#5172cc is rgb(81, 114, 204) in RGB and oklch(57.166% 0.14374 266.723) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5172cc

## Formats

| Format | Value |
| --- | --- |
| HEX | #5172cc |
| RGB | rgb(81, 114, 204) |
| HSL | hsl(223.9, 54.67%, 55.88%) |
| HSB / HSV | hsv(223.9 60.29% 80%) |
| HWB | hwb(223.9 31.76% 20%) |
| CMYK | cmyk(60% 44% 0% 20%) |
| Lab | lab(48.95 9.49 -51.26) |
| LCH | lch(48.95 52.13 280.49) |
| OKLab | oklab(57.166% -0.00822 -0.14351) |
| OKLCH | oklch(57.166% 0.14374 266.723) |
| Display P3 | color(display-p3 0.34503 0.44349 0.77566) |
| Rec. 2020 | color(rec2020 0.34444 0.39236 0.74546) |
| Adobe RGB | color(a98-rgb 0.36161 0.44469 0.7842) |
| ProPhoto RGB | color(prophoto-rgb 0.39043 0.37619 0.71287) |
| Linear sRGB | color(srgb-linear 0.08228 0.16827 0.60383) |
| XYZ D65 | color(xyz-d65 0.20308 0.18143 0.5956) |
| XYZ D50 | color(xyz-d50 0.18708 0.17554 0.44867) |
| SwiftUI | Color(red: 0.318, green: 0.447, blue: 0.8) |
| UIKit | UIColor(red: 0.318, green: 0.447, blue: 0.8, alpha: 1) |
| Flutter / Compose | Color(0xFF5172CC) |
| Android XML | #5172CC |

## 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.54:1
- Contrast with black: 4.63:1

## Tints

#5172cc, #6180d2, #718fd8, #829dde, #93abe3, #a4b9e8, #b6c7ed, #c8d5f2, #dae3f7, #ecf1fb

## Shades

#5172cc, #4562b1, #3a5397, #2f447e, #243665, #1a284e, #101b37, #070e22, #02040f, #000102

## Tones

#5172cc, #5573c4, #5974bc, #5d75b3, #6176ab, #6477a3, #68779b, #6c7892, #707889, #747881

## Harmonies

- Complementary: #5172cc, #9a7000
- Split: #5172cc, #b55d00, #738100
- Analogous: #5172cc, #0082c1, #8162c1
- Triadic: #5172cc, #be5048, #2f8e41
- Tetradic: #5172cc, #a355a4, #9a7000, #2f8e41
- Square: #5172cc, #b74e79, #9a7000, #008f76
- Monochromatic: #5172cc, #152a7e, #314ea4, #7397f5, #9fbfff

## Questions about #5172cc

### What color is #5172cc?

#5172cc is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 204), in HSL hsl(223.9, 54.67%, 55.88%) and in OKLCH oklch(57.166% 0.14374 266.723).

### What colors go well with #5172cc?

The complementary color of #5172cc is #9a7000. For a calmer combination use the analogous colors #0082c1 and #8162c1. The triadic partners are #be5048 and #2f8e41.

### Is white or black text more readable on #5172cc?

White text reads better on #5172cc: white gives a contrast ratio of 4.54:1 and black gives 4.63:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5172cc a warm or cool color?

#5172cc is a cool color. In OKLCH its hue is 267 degrees, its lightness 57.2% and its chroma 0.144.
