# #3171b7 color: Campanula

#3171b7 is rgb(49, 113, 183) in RGB and oklch(54.197% 0.12776 252.978) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/3171b7

## Formats

| Format | Value |
| --- | --- |
| HEX | #3171b7 |
| RGB | rgb(49, 113, 183) |
| HSL | hsl(211.34, 57.76%, 45.49%) |
| HSB / HSV | hsv(211.34 73.22% 71.76%) |
| HWB | hwb(211.34 19.22% 28.24%) |
| CMYK | cmyk(73% 38% 0% 28%) |
| Lab | lab(46.17 -2.23 -43.75) |
| LCH | lch(46.17 43.8 267.08) |
| OKLab | oklab(54.197% -0.0374 -0.12216) |
| OKLCH | oklch(54.197% 0.12776 252.978) |
| Display P3 | color(display-p3 0.25906 0.43748 0.69694) |
| Rec. 2020 | color(rec2020 0.28032 0.38173 0.65977) |
| Adobe RGB | color(a98-rgb 0.29651 0.4409 0.70309) |
| ProPhoto RGB | color(prophoto-rgb 0.33189 0.36203 0.62552) |
| Linear sRGB | color(srgb-linear 0.03071 0.16513 0.47353) |
| XYZ D65 | color(xyz-d65 0.15718 0.15881 0.47038) |
| XYZ D50 | color(xyz-d50 0.14475 0.15392 0.35461) |
| SwiftUI | Color(red: 0.192, green: 0.443, blue: 0.718) |
| UIKit | UIColor(red: 0.192, green: 0.443, blue: 0.718, alpha: 1) |
| Flutter / Compose | Color(0xFF3171B7) |
| Android XML | #3171B7 |

## Facts

- Closest name: Campanula
- Hue family: Blue, bright blue
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.03:1
- Contrast with black: 4.18:1

## Tints

#3171b7, #477fbf, #5c8dc7, #709bce, #84a9d6, #98b8dd, #acc6e4, #c1d4eb, #d5e2f2, #eaf1f9

## Shades

#3171b7, #29619f, #225287, #1a4370, #13355a, #0c2745, #061a31, #030e1e, #01040c, #000102

## Tones

#3171b7, #3a71b0, #4172a9, #4872a2, #4e729b, #547294, #5a718d, #607185, #65707e, #6a7077

## Harmonies

- Complementary: #3171b7, #9b6100
- Split: #3171b7, #ab522b, #7e7100
- Analogous: #3171b7, #007da2, #6663b6
- Triadic: #3171b7, #ac4b5a, #507e27
- Tetradic: #3171b7, #8956a4, #9b6100, #507e27
- Square: #3171b7, #a04d83, #9b6100, #008559
- Monochromatic: #3171b7, #002b6b, #034e90, #5696df, #7bbcff

## Questions about #3171b7

### What color is #3171b7?

#3171b7 is bright blue. The closest named color is Campanula. In RGB it is rgb(49, 113, 183), in HSL hsl(211.34, 57.76%, 45.49%) and in OKLCH oklch(54.197% 0.12776 252.978).

### What colors go well with #3171b7?

The complementary color of #3171b7 is #9b6100. For a calmer combination use the analogous colors #007da2 and #6663b6. The triadic partners are #ac4b5a and #507e27.

### Is white or black text more readable on #3171b7?

White text reads better on #3171b7: white gives a contrast ratio of 5.03:1 and black gives 4.18:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #3171b7 a warm or cool color?

#3171b7 is a cool color. In OKLCH its hue is 253 degrees, its lightness 54.2% and its chroma 0.128.
