# #2872b7 color: Campanula

#2872b7 is rgb(40, 114, 183) in RGB and oklch(54.145% 0.12971 250.352) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2872b7

## Formats

| Format | Value |
| --- | --- |
| HEX | #2872b7 |
| RGB | rgb(40, 114, 183) |
| HSL | hsl(208.95, 64.13%, 43.73%) |
| HSB / HSV | hsv(208.95 78.14% 71.76%) |
| HWB | hwb(208.95 15.69% 28.24%) |
| CMYK | cmyk(78% 38% 0% 28%) |
| Lab | lab(46.18 -4.12 -43.74) |
| LCH | lch(46.18 43.93 264.62) |
| OKLab | oklab(54.145% -0.04361 -0.12216) |
| OKLCH | oklch(54.145% 0.12971 250.352) |
| Display P3 | color(display-p3 0.24094 0.44094 0.69698) |
| Rec. 2020 | color(rec2020 0.27125 0.38475 0.65987) |
| Adobe RGB | color(a98-rgb 0.28471 0.44469 0.70318) |
| ProPhoto RGB | color(prophoto-rgb 0.3265 0.36428 0.62569) |
| Linear sRGB | color(srgb-linear 0.02122 0.16827 0.47353) |
| XYZ D65 | color(xyz-d65 0.15438 0.15904 0.47057) |
| XYZ D50 | color(xyz-d50 0.14181 0.15406 0.35478) |
| SwiftUI | Color(red: 0.157, green: 0.447, blue: 0.718) |
| UIKit | UIColor(red: 0.157, green: 0.447, blue: 0.718, alpha: 1) |
| Flutter / Compose | Color(0xFF2872B7) |
| Android XML | #2872B7 |

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

#2872b7, #4180bf, #578ec7, #6c9cce, #81aad6, #96b8dd, #aac6e4, #bfd4eb, #d4e2f2, #eaf1f9

## Shades

#2872b7, #21629f, #1b5387, #154470, #0f365a, #092845, #041b31, #020e1e, #01040c, #000102

## Tones

#2872b7, #3372b0, #3c72a9, #4472a2, #4b729b, #527294, #58728d, #5e7185, #64717e, #6a7077

## Harmonies

- Complementary: #2872b7, #9d5f00
- Split: #2872b7, #ac502e, #816f00
- Analogous: #2872b7, #007e9f, #6264b8
- Triadic: #2872b7, #ac4a5d, #557d1f
- Tetradic: #2872b7, #8657a6, #9d5f00, #557d1f
- Square: #2872b7, #9f4d86, #9d5f00, #008555
- Monochromatic: #2872b7, #002d68, #004e90, #4f97df, #74bdff

## Questions about #2872b7

### What color is #2872b7?

#2872b7 is bright blue. The closest named color is Campanula. In RGB it is rgb(40, 114, 183), in HSL hsl(208.95, 64.13%, 43.73%) and in OKLCH oklch(54.145% 0.12971 250.352).

### What colors go well with #2872b7?

The complementary color of #2872b7 is #9d5f00. For a calmer combination use the analogous colors #007e9f and #6264b8. The triadic partners are #ac4a5d and #557d1f.

### Is white or black text more readable on #2872b7?

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

#2872b7 is a cool color. In OKLCH its hue is 250 degrees, its lightness 54.1% and its chroma 0.13.
