# #5172cd color: Cornflower

#5172cd is rgb(81, 114, 205) in RGB and oklch(57.23% 0.14514 266.82) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5172cd |
| RGB | rgb(81, 114, 205) |
| HSL | hsl(224.03, 55.36%, 56.08%) |
| HSB / HSV | hsv(224.03 60.49% 80.39%) |
| HWB | hwb(224.03 31.76% 19.61%) |
| CMYK | cmyk(60% 44% 0% 20%) |
| Lab | lab(49 9.77 -51.75) |
| LCH | lch(49 52.66 280.69) |
| OKLab | oklab(57.23% -0.00805 -0.14491) |
| OKLCH | oklch(57.23% 0.14514 266.82) |
| Display P3 | color(display-p3 0.34503 0.44349 0.77937) |
| Rec. 2020 | color(rec2020 0.34487 0.39246 0.74952) |
| Adobe RGB | color(a98-rgb 0.36161 0.44469 0.78808) |
| ProPhoto RGB | color(prophoto-rgb 0.39154 0.37641 0.71707) |
| Linear sRGB | color(srgb-linear 0.08228 0.16827 0.6105) |
| XYZ D65 | color(xyz-d65 0.20429 0.18191 0.60194) |
| XYZ D50 | color(xyz-d50 0.18804 0.17595 0.45344) |
| SwiftUI | Color(red: 0.318, green: 0.447, blue: 0.804) |
| UIKit | UIColor(red: 0.318, green: 0.447, blue: 0.804, alpha: 1) |
| Flutter / Compose | Color(0xFF5172CD) |
| Android XML | #5172CD |

## 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.53:1
- Contrast with black: 4.64:1

## Tints

#5172cd, #6180d3, #718fd9, #829dde, #93abe4, #a4b9e9, #b6c7ee, #c8d5f2, #dae3f7, #ecf1fb

## Shades

#5172cd, #4562b2, #3a5398, #2f447e, #243666, #1a284e, #101b38, #070e23, #02040f, #000102

## Tones

#5172cd, #5573c5, #5975bd, #5d76b4, #6176ac, #6577a4, #68779b, #6c7892, #70788a, #747881

## Harmonies

- Complementary: #5172cd, #9a7100
- Split: #5172cd, #b65d00, #738200
- Analogous: #5172cd, #0082c2, #8262c2
- Triadic: #5172cd, #bf4f47, #2d8e40
- Tetradic: #5172cd, #a355a4, #9a7100, #2d8e40
- Square: #5172cd, #b84d79, #9a7100, #008f76
- Monochromatic: #5172cd, #152a7f, #314ea5, #7397f6, #a0bfff

## Questions about #5172cd

### What color is #5172cd?

#5172cd is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 205), in HSL hsl(224.03, 55.36%, 56.08%) and in OKLCH oklch(57.23% 0.14514 266.82).

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

The complementary color of #5172cd is #9a7100. For a calmer combination use the analogous colors #0082c2 and #8262c2. The triadic partners are #bf4f47 and #2d8e40.

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

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

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

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