# #5171d0 color: Cornflower

#5171d0 is rgb(81, 113, 208) in RGB and oklch(57.214% 0.15054 267.507) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5171d0

## Formats

| Format | Value |
| --- | --- |
| HEX | #5171d0 |
| RGB | rgb(81, 113, 208) |
| HSL | hsl(224.88, 57.47%, 56.67%) |
| HSB / HSV | hsv(224.88 61.06% 81.57%) |
| HWB | hwb(224.88 31.76% 18.43%) |
| CMYK | cmyk(61% 46% 0% 18%) |
| Lab | lab(48.87 11.18 -53.65) |
| LCH | lch(48.87 54.81 281.77) |
| OKLab | oklab(57.214% -0.00655 -0.15039) |
| OKLCH | oklch(57.214% 0.15054 267.507) |
| Display P3 | color(display-p3 0.34408 0.43966 0.7904) |
| Rec. 2020 | color(rec2020 0.34464 0.38893 0.76154) |
| Adobe RGB | color(a98-rgb 0.36023 0.4409 0.79965) |
| ProPhoto RGB | color(prophoto-rgb 0.39366 0.37377 0.72943) |
| Linear sRGB | color(srgb-linear 0.08228 0.16513 0.63076) |
| XYZ D65 | color(xyz-d65 0.20682 0.18113 0.62083) |
| XYZ D50 | color(xyz-d50 0.18973 0.17492 0.4676) |
| SwiftUI | Color(red: 0.318, green: 0.443, blue: 0.816) |
| UIKit | UIColor(red: 0.318, green: 0.443, blue: 0.816, alpha: 1) |
| Flutter / Compose | Color(0xFF5171D0) |
| Android XML | #5171D0 |

## 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.62:1

## Tints

#5171d0, #6180d6, #718edb, #829ce1, #93aae6, #a4b8eb, #b6c6ef, #c8d5f3, #dae3f8, #ecf1fb

## Shades

#5171d0, #4561b5, #3a529a, #2f4380, #243567, #1a274f, #101a39, #070e23, #020410, #000102

## Tones

#5171d0, #5573c7, #5974bf, #5d75b6, #6076ae, #6477a5, #68779c, #6c7893, #70788a, #747881

## Harmonies

- Complementary: #5171d0, #9a7100
- Split: #5171d0, #b75b00, #728200
- Analogous: #5171d0, #0082c5, #8361c4
- Triadic: #5171d0, #c14d44, #258f3f
- Tetradic: #5171d0, #a553a5, #9a7100, #258f3f
- Square: #5171d0, #ba4b78, #9a7100, #008f77
- Monochromatic: #5171d0, #162882, #314da8, #7396f9, #a1bfff

## Questions about #5171d0

### What color is #5171d0?

#5171d0 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 113, 208), in HSL hsl(224.88, 57.47%, 56.67%) and in OKLCH oklch(57.214% 0.15054 267.507).

### What colors go well with #5171d0?

The complementary color of #5171d0 is #9a7100. For a calmer combination use the analogous colors #0082c5 and #8361c4. The triadic partners are #c14d44 and #258f3f.

### Is white or black text more readable on #5171d0?

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

### Is #5171d0 a warm or cool color?

#5171d0 is a cool color. In OKLCH its hue is 268 degrees, its lightness 57.2% and its chroma 0.151.
