# #5170d1 color: Cornflower

#5170d1 is rgb(81, 112, 209) in RGB and oklch(57.074% 0.15316 267.985) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5170d1 |
| RGB | rgb(81, 112, 209) |
| HSL | hsl(225.47, 58.18%, 56.86%) |
| HSB / HSV | hsv(225.47 61.24% 81.96%) |
| HWB | hwb(225.47 31.76% 18.04%) |
| CMYK | cmyk(61% 46% 0% 18%) |
| Lab | lab(48.65 12.04 -54.58) |
| LCH | lch(48.65 55.89 282.44) |
| OKLab | oklab(57.074% -0.00539 -0.15307) |
| OKLCH | oklch(57.074% 0.15316 267.985) |
| Display P3 | color(display-p3 0.34313 0.43584 0.79398) |
| Rec. 2020 | color(rec2020 0.34355 0.38521 0.76544) |
| Adobe RGB | color(a98-rgb 0.35886 0.43712 0.80347) |
| ProPhoto RGB | color(prophoto-rgb 0.39359 0.37069 0.73339) |
| Linear sRGB | color(srgb-linear 0.08228 0.16203 0.6376) |
| XYZ D65 | color(xyz-d65 0.20695 0.1794 0.62696) |
| XYZ D50 | color(xyz-d50 0.18951 0.17312 0.47218) |
| SwiftUI | Color(red: 0.318, green: 0.439, blue: 0.82) |
| UIKit | UIColor(red: 0.318, green: 0.439, blue: 0.82, alpha: 1) |
| Flutter / Compose | Color(0xFF5170D1) |
| Android XML | #5170D1 |

## 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.58:1
- Contrast with black: 4.59:1

## Tints

#5170d1, #617fd7, #718ddc, #829ce1, #93aae6, #a4b8eb, #b6c6f0, #c8d4f4, #dae2f8, #ecf1fc

## Shades

#5170d1, #4560b5, #3a519b, #2f4381, #243568, #1a2750, #101a39, #070e23, #020410, #000102

## Tones

#5170d1, #5572c8, #5973c0, #5c74b7, #6075ae, #6476a5, #68779c, #6c7793, #70778a, #747781

## Harmonies

- Complementary: #5170d1, #997100
- Split: #5170d1, #b75b00, #718200
- Analogous: #5170d1, #0081c6, #845fc5
- Triadic: #5170d1, #c14c41, #1e8f3e
- Tetradic: #5170d1, #a652a5, #997100, #1e8f3e
- Square: #5170d1, #bb4977, #997100, #008f78
- Monochromatic: #5170d1, #162782, #324ca9, #7395fa, #a1beff

## Questions about #5170d1

### What color is #5170d1?

#5170d1 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 112, 209), in HSL hsl(225.47, 58.18%, 56.86%) and in OKLCH oklch(57.074% 0.15316 267.985).

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

The complementary color of #5170d1 is #997100. For a calmer combination use the analogous colors #0081c6 and #845fc5. The triadic partners are #c14c41 and #1e8f3e.

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

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

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

#5170d1 is a cool color. In OKLCH its hue is 268 degrees, its lightness 57.1% and its chroma 0.153.
