# #2f71b8 color: Campanula

#2f71b8 is rgb(47, 113, 184) in RGB and oklch(54.19% 0.12975 252.779) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2f71b8

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f71b8 |
| RGB | rgb(47, 113, 184) |
| HSL | hsl(211.09, 59.31%, 45.29%) |
| HSB / HSV | hsv(211.09 74.46% 72.16%) |
| HWB | hwb(211.09 18.43% 27.84%) |
| CMYK | cmyk(74% 39% 0% 28%) |
| Lab | lab(46.15 -2.24 -44.36) |
| LCH | lch(46.15 44.42 267.1) |
| OKLab | oklab(54.19% -0.03842 -0.12394) |
| OKLCH | oklch(54.19% 0.12975 252.779) |
| Display P3 | color(display-p3 0.2545 0.43739 0.70062) |
| Rec. 2020 | color(rec2020 0.27816 0.38161 0.66376) |
| Adobe RGB | color(a98-rgb 0.29329 0.4409 0.70693) |
| ProPhoto RGB | color(prophoto-rgb 0.33136 0.36195 0.62953) |
| Linear sRGB | color(srgb-linear 0.02843 0.16513 0.47932) |
| XYZ D65 | color(xyz-d65 0.15728 0.15875 0.47584) |
| XYZ D50 | color(xyz-d50 0.14458 0.15376 0.35871) |
| SwiftUI | Color(red: 0.184, green: 0.443, blue: 0.722) |
| UIKit | UIColor(red: 0.184, green: 0.443, blue: 0.722, alpha: 1) |
| Flutter / Compose | Color(0xFF2F71B8) |
| Android XML | #2F71B8 |

## 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

#2f71b8, #467fc0, #5b8dc8, #6f9bcf, #83aad6, #97b8de, #acc6e5, #c0d4eb, #d5e2f2, #eaf1f9

## Shades

#2f71b8, #2761a0, #205288, #194371, #12355b, #0c2745, #061a31, #030e1e, #01040c, #000102

## Tones

#2f71b8, #3871b1, #4072aa, #4772a3, #4e729c, #547294, #5a718d, #5f7186, #65707e, #6a7077

## Harmonies

- Complementary: #2f71b8, #9c6000
- Split: #2f71b8, #ab512a, #7e7100
- Analogous: #2f71b8, #007da2, #6663b8
- Triadic: #2f71b8, #ad4a5a, #507e25
- Tetradic: #2f71b8, #8956a4, #9c6000, #507e25
- Square: #2f71b8, #a14d83, #9c6000, #008658
- Monochromatic: #2f71b8, #002b6c, #004d91, #5496e0, #79bcff

## Questions about #2f71b8

### What color is #2f71b8?

#2f71b8 is bright blue. The closest named color is Campanula. In RGB it is rgb(47, 113, 184), in HSL hsl(211.09, 59.31%, 45.29%) and in OKLCH oklch(54.19% 0.12975 252.779).

### What colors go well with #2f71b8?

The complementary color of #2f71b8 is #9c6000. For a calmer combination use the analogous colors #007da2 and #6663b8. The triadic partners are #ad4a5a and #507e25.

### Is white or black text more readable on #2f71b8?

White text reads better on #2f71b8: 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 #2f71b8 a warm or cool color?

#2f71b8 is a cool color. In OKLCH its hue is 253 degrees, its lightness 54.2% and its chroma 0.13.
