# #5171cb color: Cornflower

#5171cb is rgb(81, 113, 203) in RGB and oklch(56.894% 0.14358 267.07) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5171cb |
| RGB | rgb(81, 113, 203) |
| HSL | hsl(224.26, 53.98%, 55.69%) |
| HSB / HSV | hsv(224.26 60.1% 79.61%) |
| HWB | hwb(224.26 31.76% 20.39%) |
| CMYK | cmyk(60% 44% 0% 20%) |
| Lab | lab(48.62 9.79 -51.21) |
| LCH | lch(48.62 52.14 280.83) |
| OKLab | oklab(56.894% -0.00734 -0.14339) |
| OKLCH | oklch(56.894% 0.14358 267.07) |
| Display P3 | color(display-p3 0.34408 0.43966 0.7718) |
| Rec. 2020 | color(rec2020 0.34245 0.38842 0.74121) |
| Adobe RGB | color(a98-rgb 0.36023 0.4409 0.78024) |
| ProPhoto RGB | color(prophoto-rgb 0.38811 0.37262 0.70842) |
| Linear sRGB | color(srgb-linear 0.08228 0.16513 0.5972) |
| XYZ D65 | color(xyz-d65 0.20076 0.17871 0.58893) |
| XYZ D50 | color(xyz-d50 0.18493 0.17289 0.44364) |
| SwiftUI | Color(red: 0.318, green: 0.443, blue: 0.796) |
| UIKit | UIColor(red: 0.318, green: 0.443, blue: 0.796, alpha: 1) |
| Flutter / Compose | Color(0xFF5171CB) |
| Android XML | #5171CB |

## 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.59:1
- Contrast with black: 4.57:1

## Tints

#5171cb, #617fd1, #718ed7, #829cdd, #93aae2, #a4b8e8, #b6c6ed, #c8d4f2, #dae2f6, #ecf1fb

## Shades

#5171cb, #4561b0, #3a5296, #2f437d, #243565, #1a274d, #101a37, #070e22, #02040f, #000102

## Tones

#5171cb, #5572c3, #5974bb, #5c74b3, #6075aa, #6476a2, #68769a, #6c7791, #6f7789, #737780

## Harmonies

- Complementary: #5171cb, #997000
- Split: #5171cb, #b45c00, #728100
- Analogous: #5171cb, #0081c0, #8161c0
- Triadic: #5171cb, #bd4f46, #2d8d40
- Tetradic: #5171cb, #a255a2, #997000, #2d8d40
- Square: #5171cb, #b64d78, #997000, #008e76
- Monochromatic: #5171cb, #15297d, #314da3, #7396f4, #9fbeff

## Questions about #5171cb

### What color is #5171cb?

#5171cb is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 113, 203), in HSL hsl(224.26, 53.98%, 55.69%) and in OKLCH oklch(56.894% 0.14358 267.07).

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

The complementary color of #5171cb is #997000. For a calmer combination use the analogous colors #0081c0 and #8161c0. The triadic partners are #bd4f46 and #2d8d40.

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

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

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

#5171cb is a cool color. In OKLCH its hue is 267 degrees, its lightness 56.9% and its chroma 0.144.
