# #5172d2 color: Cornflower

#5172d2 is rgb(81, 114, 210) in RGB and oklch(57.55% 0.15207 267.263) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5172d2 |
| RGB | rgb(81, 114, 210) |
| HSL | hsl(224.65, 58.9%, 57.06%) |
| HSB / HSV | hsv(224.65 61.43% 82.35%) |
| HWB | hwb(224.65 31.76% 17.65%) |
| CMYK | cmyk(61% 46% 0% 18%) |
| Lab | lab(49.25 11.16 -54.19) |
| LCH | lch(49.25 55.32 281.64) |
| OKLab | oklab(57.55% -0.00726 -0.1519) |
| OKLCH | oklch(57.55% 0.15207 267.263) |
| Display P3 | color(display-p3 0.34503 0.44349 0.79797) |
| Rec. 2020 | color(rec2020 0.34707 0.39297 0.76987) |
| Adobe RGB | color(a98-rgb 0.36161 0.44469 0.80751) |
| ProPhoto RGB | color(prophoto-rgb 0.39712 0.37757 0.73814) |
| Linear sRGB | color(srgb-linear 0.08228 0.16827 0.64448) |
| XYZ D65 | color(xyz-d65 0.21042 0.18436 0.63425) |
| XYZ D50 | color(xyz-d50 0.1929 0.17801 0.4777) |
| SwiftUI | Color(red: 0.318, green: 0.447, blue: 0.824) |
| UIKit | UIColor(red: 0.318, green: 0.447, blue: 0.824, alpha: 1) |
| Flutter / Compose | Color(0xFF5172D2) |
| Android XML | #5172D2 |

## 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.48:1
- Contrast with black: 4.69:1

## Tints

#5172d2, #6181d8, #718fdd, #829de2, #93abe7, #a4b9ec, #b6c7f0, #c8d5f4, #dae3f8, #ecf1fc

## Shades

#5172d2, #4562b6, #3a539b, #2f4481, #243668, #1a2850, #101b39, #070e24, #020410, #000102

## Tones

#5172d2, #5574c9, #5975c1, #5d76b8, #6177af, #6578a7, #69789e, #6d7995, #71798c, #757982

## Harmonies

- Complementary: #5172d2, #9b7200
- Split: #5172d2, #b95c00, #738300
- Analogous: #5172d2, #0083c7, #8461c6
- Triadic: #5172d2, #c34e45, #25903f
- Tetradic: #5172d2, #a754a7, #9b7200, #25903f
- Square: #5172d2, #bc4b7a, #9b7200, #009078
- Monochromatic: #5172d2, #162983, #314eaa, #7397fb, #a2c0ff

## Questions about #5172d2

### What color is #5172d2?

#5172d2 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 210), in HSL hsl(224.65, 58.9%, 57.06%) and in OKLCH oklch(57.55% 0.15207 267.263).

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

The complementary color of #5172d2 is #9b7200. For a calmer combination use the analogous colors #0083c7 and #8461c6. The triadic partners are #c34e45 and #25903f.

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

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

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

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