# #2871b4 color: Campanula

#2871b4 is rgb(40, 113, 180) in RGB and oklch(53.729% 0.1269 249.956) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2871b4

## Formats

| Format | Value |
| --- | --- |
| HEX | #2871b4 |
| RGB | rgb(40, 113, 180) |
| HSL | hsl(208.71, 63.64%, 43.14%) |
| HSB / HSV | hsv(208.71 77.78% 70.59%) |
| HWB | hwb(208.71 15.69% 29.41%) |
| CMYK | cmyk(78% 37% 0% 29%) |
| Lab | lab(45.74 -4.49 -42.71) |
| LCH | lch(45.74 42.94 264) |
| OKLab | oklab(53.729% -0.04349 -0.11922) |
| OKLCH | oklch(53.729% 0.1269 249.956) |
| Display P3 | color(display-p3 0.23949 0.43708 0.6857) |
| Rec. 2020 | color(rec2020 0.26792 0.38058 0.64761) |
| Adobe RGB | color(a98-rgb 0.28287 0.4409 0.69159) |
| ProPhoto RGB | color(prophoto-rgb 0.32179 0.36025 0.61332) |
| Linear sRGB | color(srgb-linear 0.02122 0.16513 0.45641) |
| XYZ D65 | color(xyz-d65 0.15017 0.15556 0.45393) |
| XYZ D50 | color(xyz-d50 0.13816 0.15077 0.34225) |
| SwiftUI | Color(red: 0.157, green: 0.443, blue: 0.706) |
| UIKit | UIColor(red: 0.157, green: 0.443, blue: 0.706, alpha: 1) |
| Flutter / Compose | Color(0xFF2871B4) |
| Android XML | #2871B4 |

## 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.11:1
- Contrast with black: 4.11:1

## Tints

#2871b4, #417fbc, #578dc4, #6c9bcc, #81a9d4, #96b8db, #aac6e3, #bfd4ea, #d4e2f1, #eaf1f8

## Shades

#2871b4, #21619c, #1b5285, #15436e, #0f3558, #092744, #041a30, #020e1d, #01040c, #000102

## Tones

#2871b4, #3371ad, #3c71a6, #4371a0, #4b7199, #517192, #57718b, #5d7084, #636f7c, #686f75

## Harmonies

- Complementary: #2871b4, #9c5e00
- Split: #2871b4, #aa502f, #806e00
- Analogous: #2871b4, #007c9d, #6163b5
- Triadic: #2871b4, #aa4a5d, #557c20
- Tetradic: #2871b4, #8456a4, #9c5e00, #557c20
- Square: #2871b4, #9d4d85, #9c5e00, #008353
- Monochromatic: #2871b4, #002c66, #004e8e, #4f96dc, #74bcff

## Questions about #2871b4

### What color is #2871b4?

#2871b4 is bright blue. The closest named color is Campanula. In RGB it is rgb(40, 113, 180), in HSL hsl(208.71, 63.64%, 43.14%) and in OKLCH oklch(53.729% 0.1269 249.956).

### What colors go well with #2871b4?

The complementary color of #2871b4 is #9c5e00. For a calmer combination use the analogous colors #007c9d and #6163b5. The triadic partners are #aa4a5d and #557c20.

### Is white or black text more readable on #2871b4?

White text reads better on #2871b4: white gives a contrast ratio of 5.11:1 and black gives 4.11:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2871b4 a warm or cool color?

#2871b4 is a cool color. In OKLCH its hue is 250 degrees, its lightness 53.7% and its chroma 0.127.
