# #2a71b6 color: Campanula

#2a71b6 is rgb(42, 113, 182) in RGB and oklch(53.909% 0.12882 251.031) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a71b6 |
| RGB | rgb(42, 113, 182) |
| HSL | hsl(209.57, 62.5%, 43.92%) |
| HSB / HSV | hsv(209.57 76.92% 71.37%) |
| HWB | hwb(209.57 16.47% 28.63%) |
| CMYK | cmyk(77% 38% 0% 29%) |
| Lab | lab(45.89 -3.59 -43.62) |
| LCH | lch(45.89 43.77 265.29) |
| OKLab | oklab(53.909% -0.04187 -0.12183) |
| OKLCH | oklch(53.909% 0.12882 251.031) |
| Display P3 | color(display-p3 0.24362 0.43716 0.69314) |
| Rec. 2020 | color(rec2020 0.27113 0.38093 0.65566) |
| Adobe RGB | color(a98-rgb 0.28571 0.4409 0.69926) |
| ProPhoto RGB | color(prophoto-rgb 0.32538 0.36089 0.62139) |
| Linear sRGB | color(srgb-linear 0.02315 0.16513 0.46778) |
| XYZ D65 | color(xyz-d65 0.15302 0.15679 0.46477) |
| XYZ D50 | color(xyz-d50 0.14063 0.15189 0.3504) |
| SwiftUI | Color(red: 0.165, green: 0.443, blue: 0.714) |
| UIKit | UIColor(red: 0.165, green: 0.443, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFF2A71B6) |
| Android XML | #2A71B6 |

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

## Tints

#2a71b6, #427fbe, #588dc6, #6d9bce, #81aad5, #96b8dc, #abc6e4, #bfd4eb, #d4e2f2, #eaf1f8

## Shades

#2a71b6, #23619e, #1c5286, #16436f, #103559, #0a2744, #051a30, #020e1d, #01040c, #000102

## Tones

#2a71b6, #3471af, #3d71a8, #4472a1, #4b719a, #527193, #58718c, #5e7085, #64707d, #696f76

## Harmonies

- Complementary: #2a71b6, #9c5f00
- Split: #2a71b6, #ab502d, #7f6f00
- Analogous: #2a71b6, #007d9f, #6363b7
- Triadic: #2a71b6, #ab4a5c, #537d21
- Tetradic: #2a71b6, #8656a5, #9c5f00, #537d21
- Square: #2a71b6, #9f4d84, #9c5f00, #008455
- Monochromatic: #2a71b6, #002b69, #004d90, #5096de, #76bcff

## Questions about #2a71b6

### What color is #2a71b6?

#2a71b6 is bright blue. The closest named color is Campanula. In RGB it is rgb(42, 113, 182), in HSL hsl(209.57, 62.5%, 43.92%) and in OKLCH oklch(53.909% 0.12882 251.031).

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

The complementary color of #2a71b6 is #9c5f00. For a calmer combination use the analogous colors #007d9f and #6363b7. The triadic partners are #ab4a5c and #537d21.

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

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

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

#2a71b6 is a cool color. In OKLCH its hue is 251 degrees, its lightness 53.9% and its chroma 0.129.
