# #2d71b6 color: Campanula

#2d71b6 is rgb(45, 113, 182) in RGB and oklch(54.002% 0.12783 251.702) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d71b6 |
| RGB | rgb(45, 113, 182) |
| HSL | hsl(210.22, 60.35%, 44.51%) |
| HSB / HSV | hsv(210.22 75.27% 71.37%) |
| HWB | hwb(210.22 17.65% 28.63%) |
| CMYK | cmyk(75% 38% 0% 29%) |
| Lab | lab(45.99 -3.16 -43.47) |
| LCH | lch(45.99 43.58 265.84) |
| OKLab | oklab(54.002% -0.04013 -0.12137) |
| OKLCH | oklch(54.002% 0.12783 251.702) |
| Display P3 | color(display-p3 0.25006 0.43729 0.69317) |
| Rec. 2020 | color(rec2020 0.27473 0.38122 0.6557) |
| Adobe RGB | color(a98-rgb 0.29018 0.4409 0.69926) |
| ProPhoto RGB | color(prophoto-rgb 0.32761 0.36127 0.62143) |
| Linear sRGB | color(srgb-linear 0.02624 0.16513 0.46778) |
| XYZ D65 | color(xyz-d65 0.1543 0.15745 0.46483) |
| XYZ D50 | color(xyz-d50 0.14197 0.15258 0.35044) |
| SwiftUI | Color(red: 0.176, green: 0.443, blue: 0.714) |
| UIKit | UIColor(red: 0.176, green: 0.443, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFF2D71B6) |
| Android XML | #2D71B6 |

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

## Tints

#2d71b6, #447fbe, #5a8dc6, #6e9bce, #83a9d5, #97b8dc, #abc6e4, #c0d4eb, #d5e2f2, #eaf1f8

## Shades

#2d71b6, #26619e, #1f5286, #18436f, #113559, #0b2744, #061a30, #020e1d, #01040c, #000102

## Tones

#2d71b6, #3671af, #3f72a8, #4672a1, #4d729a, #537193, #59718c, #5f7185, #64707d, #696f76

## Harmonies

- Complementary: #2d71b6, #9b5f00
- Split: #2d71b6, #aa512c, #7f7000
- Analogous: #2d71b6, #007da0, #6463b6
- Triadic: #2d71b6, #ab4a5b, #527d24
- Tetradic: #2d71b6, #8756a4, #9b5f00, #527d24
- Square: #2d71b6, #9f4d84, #9b5f00, #008557
- Monochromatic: #2d71b6, #002b6a, #004e90, #5396de, #78bcff

## Questions about #2d71b6

### What color is #2d71b6?

#2d71b6 is bright blue. The closest named color is Campanula. In RGB it is rgb(45, 113, 182), in HSL hsl(210.22, 60.35%, 44.51%) and in OKLCH oklch(54.002% 0.12783 251.702).

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

The complementary color of #2d71b6 is #9b5f00. For a calmer combination use the analogous colors #007da0 and #6463b6. The triadic partners are #ab4a5b and #527d24.

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

White text reads better on #2d71b6: white gives a contrast ratio of 5.06:1 and black gives 4.15:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2d71b6 a warm or cool color?

#2d71b6 is a cool color. In OKLCH its hue is 252 degrees, its lightness 54% and its chroma 0.128.
