# #3171b9 color: Campanula

#3171b9 is rgb(49, 113, 185) in RGB and oklch(54.319% 0.13038 253.556) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3171b9 |
| RGB | rgb(49, 113, 185) |
| HSL | hsl(211.76, 58.12%, 45.88%) |
| HSB / HSV | hsv(211.76 73.51% 72.55%) |
| HWB | hwb(211.76 19.22% 27.45%) |
| CMYK | cmyk(74% 39% 0% 27%) |
| Lab | lab(46.26 -1.63 -44.75) |
| LCH | lch(46.26 44.78 267.92) |
| OKLab | oklab(54.319% -0.03691 -0.12504) |
| OKLCH | oklch(54.319% 0.13038 253.556) |
| Display P3 | color(display-p3 0.25906 0.43748 0.70436) |
| Rec. 2020 | color(rec2020 0.28123 0.38191 0.66781) |
| Adobe RGB | color(a98-rgb 0.29651 0.4409 0.71077) |
| ProPhoto RGB | color(prophoto-rgb 0.33408 0.36244 0.63361) |
| Linear sRGB | color(srgb-linear 0.03071 0.16513 0.48515) |
| XYZ D65 | color(xyz-d65 0.15927 0.15965 0.48143) |
| XYZ D50 | color(xyz-d50 0.14641 0.15462 0.3629) |
| SwiftUI | Color(red: 0.192, green: 0.443, blue: 0.725) |
| UIKit | UIColor(red: 0.192, green: 0.443, blue: 0.725, alpha: 1) |
| Flutter / Compose | Color(0xFF3171B9) |
| Android XML | #3171B9 |

## 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.01:1
- Contrast with black: 4.19:1

## Tints

#3171b9, #477fc1, #5c8dc8, #709bd0, #84aad7, #98b8de, #acc6e5, #c1d4ec, #d5e2f2, #eaf1f9

## Shades

#3171b9, #2961a0, #225289, #1a4371, #13355b, #0c2746, #061a31, #030e1e, #01040d, #000102

## Tones

#3171b9, #3a71b2, #4172ab, #4872a4, #4f729c, #557295, #5a728e, #607186, #65717f, #6a7077

## Harmonies

- Complementary: #3171b9, #9c6100
- Split: #3171b9, #ac5228, #7d7200
- Analogous: #3171b9, #007da4, #6763b8
- Triadic: #3171b9, #ae4a59, #4f7f26
- Tetradic: #3171b9, #8a56a4, #9c6100, #4f7f26
- Square: #3171b9, #a24d83, #9c6100, #00865a
- Monochromatic: #3171b9, #002b6d, #034d92, #5696e1, #7bbcff

## Questions about #3171b9

### What color is #3171b9?

#3171b9 is bright blue. The closest named color is Campanula. In RGB it is rgb(49, 113, 185), in HSL hsl(211.76, 58.12%, 45.88%) and in OKLCH oklch(54.319% 0.13038 253.556).

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

The complementary color of #3171b9 is #9c6100. For a calmer combination use the analogous colors #007da4 and #6763b8. The triadic partners are #ae4a59 and #4f7f26.

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

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

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

#3171b9 is a cool color. In OKLCH its hue is 254 degrees, its lightness 54.3% and its chroma 0.13.
