# #5172d1 color: Cornflower

#5172d1 is rgb(81, 114, 209) in RGB and oklch(57.485% 0.15069 267.18) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5172d1 |
| RGB | rgb(81, 114, 209) |
| HSL | hsl(224.53, 58.18%, 56.86%) |
| HSB / HSV | hsv(224.53 61.24% 81.96%) |
| HWB | hwb(224.53 31.76% 18.04%) |
| CMYK | cmyk(61% 45% 0% 18%) |
| Lab | lab(49.2 10.88 -53.7) |
| LCH | lch(49.2 54.79 281.45) |
| OKLab | oklab(57.485% -0.00741 -0.15051) |
| OKLCH | oklch(57.485% 0.15069 267.18) |
| Display P3 | color(display-p3 0.34503 0.44349 0.79425) |
| Rec. 2020 | color(rec2020 0.34662 0.39287 0.7658) |
| Adobe RGB | color(a98-rgb 0.36161 0.44469 0.80362) |
| ProPhoto RGB | color(prophoto-rgb 0.396 0.37734 0.73391) |
| Linear sRGB | color(srgb-linear 0.08228 0.16827 0.6376) |
| XYZ D65 | color(xyz-d65 0.20918 0.18387 0.6277) |
| XYZ D50 | color(xyz-d50 0.19192 0.17759 0.47279) |
| SwiftUI | Color(red: 0.318, green: 0.447, blue: 0.82) |
| UIKit | UIColor(red: 0.318, green: 0.447, blue: 0.82, alpha: 1) |
| Flutter / Compose | Color(0xFF5172D1) |
| Android XML | #5172D1 |

## 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.49:1
- Contrast with black: 4.68:1

## Tints

#5172d1, #6181d7, #718fdc, #829de1, #93abe6, #a4b9eb, #b6c7f0, #c8d5f4, #dae3f8, #ecf1fc

## Shades

#5172d1, #4562b5, #3a539b, #2f4481, #243668, #1a2850, #101b39, #070e23, #020410, #000102

## Tones

#5172d1, #5574c8, #5975c0, #5d76b7, #6177af, #6578a6, #69789d, #6d7894, #71798b, #757982

## Harmonies

- Complementary: #5172d1, #9b7200
- Split: #5172d1, #b85c00, #738300
- Analogous: #5172d1, #0083c6, #8462c6
- Triadic: #5172d1, #c24e45, #27903f
- Tetradic: #5172d1, #a654a6, #9b7200, #27903f
- Square: #5172d1, #bb4c7a, #9b7200, #009078
- Monochromatic: #5172d1, #152982, #314ea9, #7397fa, #a2c0ff

## Questions about #5172d1

### What color is #5172d1?

#5172d1 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 209), in HSL hsl(224.53, 58.18%, 56.86%) and in OKLCH oklch(57.485% 0.15069 267.18).

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

The complementary color of #5172d1 is #9b7200. For a calmer combination use the analogous colors #0083c6 and #8462c6. The triadic partners are #c24e45 and #27903f.

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

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

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

#5172d1 is a cool color. In OKLCH its hue is 267 degrees, its lightness 57.5% and its chroma 0.151.
