# #5171d1 color: Cornflower

#5171d1 is rgb(81, 113, 209) in RGB and oklch(57.279% 0.15192 267.586) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5171d1 |
| RGB | rgb(81, 113, 209) |
| HSL | hsl(225, 58.18%, 56.86%) |
| HSB / HSV | hsv(225 61.24% 81.96%) |
| HWB | hwb(225 31.76% 18.04%) |
| CMYK | cmyk(61% 46% 0% 18%) |
| Lab | lab(48.93 11.46 -54.14) |
| LCH | lch(48.93 55.34 281.95) |
| OKLab | oklab(57.279% -0.0064 -0.15179) |
| OKLCH | oklch(57.279% 0.15192 267.586) |
| Display P3 | color(display-p3 0.34408 0.43966 0.79412) |
| Rec. 2020 | color(rec2020 0.34508 0.38904 0.76562) |
| Adobe RGB | color(a98-rgb 0.36023 0.4409 0.80354) |
| ProPhoto RGB | color(prophoto-rgb 0.39479 0.37401 0.73365) |
| Linear sRGB | color(srgb-linear 0.08228 0.16513 0.6376) |
| XYZ D65 | color(xyz-d65 0.20806 0.18162 0.62733) |
| XYZ D50 | color(xyz-d50 0.19071 0.17534 0.47248) |
| SwiftUI | Color(red: 0.318, green: 0.443, blue: 0.82) |
| UIKit | UIColor(red: 0.318, green: 0.443, blue: 0.82, alpha: 1) |
| Flutter / Compose | Color(0xFF5171D1) |
| Android XML | #5171D1 |

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

## Tints

#5171d1, #6180d7, #718edc, #829ce1, #93aae6, #a4b8eb, #b6c7f0, #c8d5f4, #dae3f8, #ecf1fc

## Shades

#5171d1, #4561b5, #3a529b, #2f4381, #243568, #1a2750, #101a39, #070e23, #020410, #000102

## Tones

#5171d1, #5573c8, #5974c0, #5d75b7, #6176ae, #6477a6, #68779d, #6c7894, #70788b, #747882

## Harmonies

- Complementary: #5171d1, #9a7100
- Split: #5171d1, #b85b00, #728200
- Analogous: #5171d1, #0082c6, #8460c5
- Triadic: #5171d1, #c24d43, #238f3f
- Tetradic: #5171d1, #a653a5, #9a7100, #238f3f
- Square: #5171d1, #bb4b78, #9a7100, #008f78
- Monochromatic: #5171d1, #162882, #314da9, #7396fa, #a1bfff

## Questions about #5171d1

### What color is #5171d1?

#5171d1 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 113, 209), in HSL hsl(225, 58.18%, 56.86%) and in OKLCH oklch(57.279% 0.15192 267.586).

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

The complementary color of #5171d1 is #9a7100. For a calmer combination use the analogous colors #0082c6 and #8460c5. The triadic partners are #c24d43 and #238f3f.

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

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

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

#5171d1 is a cool color. In OKLCH its hue is 268 degrees, its lightness 57.3% and its chroma 0.152.
