# #2871b5 color: Campanula

#2871b5 is rgb(40, 113, 181) in RGB and oklch(53.79% 0.12818 250.288) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2871b5 |
| RGB | rgb(40, 113, 181) |
| HSL | hsl(208.94, 63.8%, 43.33%) |
| HSB / HSV | hsv(208.94 77.9% 70.98%) |
| HWB | hwb(208.94 15.69% 29.02%) |
| CMYK | cmyk(78% 38% 0% 29%) |
| Lab | lab(45.79 -4.18 -43.21) |
| LCH | lch(45.79 43.42 264.48) |
| OKLab | oklab(53.79% -0.04323 -0.12067) |
| OKLCH | oklch(53.79% 0.12818 250.288) |
| Display P3 | color(display-p3 0.23949 0.43708 0.6894) |
| Rec. 2020 | color(rec2020 0.26838 0.38066 0.65162) |
| Adobe RGB | color(a98-rgb 0.28287 0.4409 0.69542) |
| ProPhoto RGB | color(prophoto-rgb 0.32289 0.36045 0.61734) |
| Linear sRGB | color(srgb-linear 0.02122 0.16513 0.46208) |
| XYZ D65 | color(xyz-d65 0.1512 0.15597 0.45931) |
| XYZ D50 | color(xyz-d50 0.13897 0.15111 0.3463) |
| SwiftUI | Color(red: 0.157, green: 0.443, blue: 0.71) |
| UIKit | UIColor(red: 0.157, green: 0.443, blue: 0.71, alpha: 1) |
| Flutter / Compose | Color(0xFF2871B5) |
| Android XML | #2871B5 |

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

## Tints

#2871b5, #417fbd, #578dc5, #6c9bcd, #81a9d4, #96b8dc, #aac6e3, #bfd4ea, #d4e2f1, #eaf1f8

## Shades

#2871b5, #21619d, #1b5286, #15436f, #0f3559, #092744, #041a30, #020e1d, #01040c, #000102

## Tones

#2871b5, #3371ae, #3c71a7, #4371a0, #4b7199, #517192, #58718b, #5e7084, #63707d, #696f75

## Harmonies

- Complementary: #2871b5, #9c5e00
- Split: #2871b5, #aa502e, #806e00
- Analogous: #2871b5, #007c9e, #6163b6
- Triadic: #2871b5, #aa495c, #547c1f
- Tetradic: #2871b5, #8556a5, #9c5e00, #547c1f
- Square: #2871b5, #9e4d85, #9c5e00, #008454
- Monochromatic: #2871b5, #002c67, #004e8f, #4f96dd, #74bcff

## Questions about #2871b5

### What color is #2871b5?

#2871b5 is bright blue. The closest named color is Campanula. In RGB it is rgb(40, 113, 181), in HSL hsl(208.94, 63.8%, 43.33%) and in OKLCH oklch(53.79% 0.12818 250.288).

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

The complementary color of #2871b5 is #9c5e00. For a calmer combination use the analogous colors #007c9e and #6163b6. The triadic partners are #aa495c and #547c1f.

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

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

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

#2871b5 is a cool color. In OKLCH its hue is 250 degrees, its lightness 53.8% and its chroma 0.128.
