# #5170b2 color: Prefect

#5170b2 is rgb(81, 112, 178) in RGB and oklch(55.178% 0.10945 264.084) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5170b2 |
| RGB | rgb(81, 112, 178) |
| HSL | hsl(220.82, 38.65%, 50.78%) |
| HSB / HSV | hsv(220.82 54.49% 69.8%) |
| HWB | hwb(220.82 31.76% 30.2%) |
| CMYK | cmyk(54% 37% 0% 30%) |
| Lab | lab(47.16 3.62 -39.16) |
| LCH | lch(47.16 39.33 275.29) |
| OKLab | oklab(55.178% -0.01128 -0.10887) |
| OKLCH | oklch(55.178% 0.10945 264.084) |
| Display P3 | color(display-p3 0.34313 0.43584 0.67888) |
| Rec. 2020 | color(rec2020 0.3308 0.38226 0.64017) |
| Adobe RGB | color(a98-rgb 0.35886 0.43712 0.68384) |
| ProPhoto RGB | color(prophoto-rgb 0.36081 0.36398 0.60586) |
| Linear sRGB | color(srgb-linear 0.08228 0.16203 0.4452) |
| XYZ D65 | color(xyz-d65 0.17222 0.16551 0.44408) |
| XYZ D50 | color(xyz-d50 0.16199 0.16145 0.33479) |
| SwiftUI | Color(red: 0.318, green: 0.439, blue: 0.698) |
| UIKit | UIColor(red: 0.318, green: 0.439, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5170B2) |
| Android XML | #5170B2 |

## Facts

- Closest name: Prefect
- Hue family: Blue, soft blue
- Closest Tailwind class: slate-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.87:1
- Contrast with black: 4.31:1

## Tints

#5170b2, #617eba, #718cc2, #829aca, #93a8d2, #a5b6da, #b6c5e2, #c8d3e9, #dae2f1, #ecf0f8

## Shades

#5170b2, #45609a, #3a5183, #2f436d, #243557, #1a2743, #101a2f, #070e1d, #02040c, #000101

## Tones

#5170b2, #5471ac, #5871a6, #5b729f, #5f7299, #627293, #65728c, #687286, #6c727f, #6f7279

## Harmonies

- Complementary: #5170b2, #906c0d
- Split: #5170b2, #a35e2d, #717921
- Analogous: #5170b2, #167ba8, #7664ab
- Triadic: #5170b2, #a95652, #468247
- Tetradic: #5170b2, #915a96, #906c0d, #468247
- Square: #5170b2, #a35576, #906c0d, #00866d
- Monochromatic: #5170b2, #132b67, #314d8c, #7394d9, #97baff

## Questions about #5170b2

### What color is #5170b2?

#5170b2 is soft blue. The closest named color is Prefect. In RGB it is rgb(81, 112, 178), in HSL hsl(220.82, 38.65%, 50.78%) and in OKLCH oklch(55.178% 0.10945 264.084).

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

The complementary color of #5170b2 is #906c0d. For a calmer combination use the analogous colors #167ba8 and #7664ab. The triadic partners are #a95652 and #468247.

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

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

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

#5170b2 is a cool color. In OKLCH its hue is 264 degrees, its lightness 55.2% and its chroma 0.109.
