# #2a71b4 color: Campanula

#2a71b4 is rgb(42, 113, 180) in RGB and oklch(53.788% 0.12626 250.381) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a71b4 |
| RGB | rgb(42, 113, 180) |
| HSL | hsl(209.13, 62.16%, 43.53%) |
| HSB / HSV | hsv(209.13 76.67% 70.59%) |
| HWB | hwb(209.13 16.47% 29.41%) |
| CMYK | cmyk(77% 37% 0% 29%) |
| Lab | lab(45.8 -4.21 -42.61) |
| LCH | lch(45.8 42.82 264.36) |
| OKLab | oklab(53.788% -0.04239 -0.11893) |
| OKLCH | oklch(53.788% 0.12626 250.381) |
| Display P3 | color(display-p3 0.24362 0.43716 0.68572) |
| Rec. 2020 | color(rec2020 0.2702 0.38076 0.64763) |
| Adobe RGB | color(a98-rgb 0.28571 0.4409 0.69159) |
| ProPhoto RGB | color(prophoto-rgb 0.3232 0.36049 0.61334) |
| Linear sRGB | color(srgb-linear 0.02315 0.16513 0.45641) |
| XYZ D65 | color(xyz-d65 0.15097 0.15597 0.45396) |
| XYZ D50 | color(xyz-d50 0.139 0.1512 0.34228) |
| SwiftUI | Color(red: 0.165, green: 0.443, blue: 0.706) |
| UIKit | UIColor(red: 0.165, green: 0.443, blue: 0.706, alpha: 1) |
| Flutter / Compose | Color(0xFF2A71B4) |
| Android XML | #2A71B4 |

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

#2a71b4, #427fbc, #588dc4, #6d9bcc, #81a9d4, #96b8db, #abc6e3, #bfd4ea, #d4e2f1, #eaf1f8

## Shades

#2a71b4, #23619c, #1c5285, #16436e, #103558, #0a2744, #051a30, #020e1d, #01040c, #000102

## Tones

#2a71b4, #3471ad, #3d71a6, #4471a0, #4b7199, #527192, #58718b, #5e7084, #636f7d, #696f75

## Harmonies

- Complementary: #2a71b4, #9b5e00
- Split: #2a71b4, #a9502f, #7f6f00
- Analogous: #2a71b4, #007c9e, #6163b5
- Triadic: #2a71b4, #aa4a5d, #547c22
- Tetradic: #2a71b4, #8556a4, #9b5e00, #547c22
- Square: #2a71b4, #9d4d84, #9b5e00, #008454
- Monochromatic: #2a71b4, #002c67, #004e8e, #5096dc, #76bcff

## Questions about #2a71b4

### What color is #2a71b4?

#2a71b4 is bright blue. The closest named color is Campanula. In RGB it is rgb(42, 113, 180), in HSL hsl(209.13, 62.16%, 43.53%) and in OKLCH oklch(53.788% 0.12626 250.381).

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

The complementary color of #2a71b4 is #9b5e00. For a calmer combination use the analogous colors #007c9e and #6163b5. The triadic partners are #aa4a5d and #547c22.

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

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

#2a71b4 is a cool color. In OKLCH its hue is 250 degrees, its lightness 53.8% and its chroma 0.126.
