# #3171b8 color: Campanula

#3171b8 is rgb(49, 113, 184) in RGB and oklch(54.258% 0.12906 253.271) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #3171b8 |
| RGB | rgb(49, 113, 184) |
| HSL | hsl(211.56, 57.94%, 45.69%) |
| HSB / HSV | hsv(211.56 73.37% 72.16%) |
| HWB | hwb(211.56 19.22% 27.84%) |
| CMYK | cmyk(73% 39% 0% 28%) |
| Lab | lab(46.21 -1.93 -44.25) |
| LCH | lch(46.21 44.29 267.5) |
| OKLab | oklab(54.258% -0.03715 -0.1236) |
| OKLCH | oklch(54.258% 0.12906 253.271) |
| Display P3 | color(display-p3 0.25906 0.43748 0.70065) |
| Rec. 2020 | color(rec2020 0.28077 0.38182 0.66379) |
| Adobe RGB | color(a98-rgb 0.29651 0.4409 0.70693) |
| ProPhoto RGB | color(prophoto-rgb 0.33298 0.36223 0.62956) |
| Linear sRGB | color(srgb-linear 0.03071 0.16513 0.47932) |
| XYZ D65 | color(xyz-d65 0.15822 0.15923 0.47589) |
| XYZ D50 | color(xyz-d50 0.14557 0.15427 0.35874) |
| SwiftUI | Color(red: 0.192, green: 0.443, blue: 0.722) |
| UIKit | UIColor(red: 0.192, green: 0.443, blue: 0.722, alpha: 1) |
| Flutter / Compose | Color(0xFF3171B8) |
| Android XML | #3171B8 |

## 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.02:1
- Contrast with black: 4.18:1

## Tints

#3171b8, #477fc0, #5c8dc8, #709bcf, #84aad6, #98b8de, #acc6e5, #c1d4eb, #d5e2f2, #eaf1f9

## Shades

#3171b8, #2961a0, #225288, #1a4371, #13355b, #0c2745, #061a31, #030e1e, #01040c, #000102

## Tones

#3171b8, #3a71b1, #4172aa, #4872a3, #4e729c, #557295, #5a718d, #607186, #65717f, #6a7077

## Harmonies

- Complementary: #3171b8, #9b6100
- Split: #3171b8, #ab5229, #7e7100
- Analogous: #3171b8, #007da3, #6763b7
- Triadic: #3171b8, #ad4b59, #507f27
- Tetradic: #3171b8, #8a56a4, #9b6100, #507f27
- Square: #3171b8, #a14d83, #9b6100, #00865a
- Monochromatic: #3171b8, #002b6c, #034d91, #5696e0, #7bbcff

## Questions about #3171b8

### What color is #3171b8?

#3171b8 is bright blue. The closest named color is Campanula. In RGB it is rgb(49, 113, 184), in HSL hsl(211.56, 57.94%, 45.69%) and in OKLCH oklch(54.258% 0.12906 253.271).

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

The complementary color of #3171b8 is #9b6100. For a calmer combination use the analogous colors #007da3 and #6763b7. The triadic partners are #ad4b59 and #507f27.

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

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

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

#3171b8 is a cool color. In OKLCH its hue is 253 degrees, its lightness 54.3% and its chroma 0.129.
