# #2a71b5 color: Campanula

#2a71b5 is rgb(42, 113, 181) in RGB and oklch(53.848% 0.12754 250.71) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a71b5 |
| RGB | rgb(42, 113, 181) |
| HSL | hsl(209.35, 62.33%, 43.73%) |
| HSB / HSV | hsv(209.35 76.8% 70.98%) |
| HWB | hwb(209.35 16.47% 29.02%) |
| CMYK | cmyk(77% 38% 0% 29%) |
| Lab | lab(45.84 -3.9 -43.12) |
| LCH | lch(45.84 43.29 264.83) |
| OKLab | oklab(53.848% -0.04213 -0.12038) |
| OKLCH | oklch(53.848% 0.12754 250.71) |
| Display P3 | color(display-p3 0.24362 0.43716 0.68943) |
| Rec. 2020 | color(rec2020 0.27066 0.38084 0.65164) |
| Adobe RGB | color(a98-rgb 0.28571 0.4409 0.69542) |
| ProPhoto RGB | color(prophoto-rgb 0.32429 0.36069 0.61736) |
| Linear sRGB | color(srgb-linear 0.02315 0.16513 0.46208) |
| XYZ D65 | color(xyz-d65 0.15199 0.15638 0.45935) |
| XYZ D50 | color(xyz-d50 0.13981 0.15154 0.34632) |
| SwiftUI | Color(red: 0.165, green: 0.443, blue: 0.71) |
| UIKit | UIColor(red: 0.165, green: 0.443, blue: 0.71, alpha: 1) |
| Flutter / Compose | Color(0xFF2A71B5) |
| Android XML | #2A71B5 |

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

## Tints

#2a71b5, #427fbd, #588dc5, #6d9bcd, #81a9d4, #96b8dc, #abc6e3, #bfd4ea, #d4e2f1, #eaf1f8

## Shades

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

## Tones

#2a71b5, #3471ae, #3d71a7, #4471a0, #4b7199, #527192, #58718b, #5e7084, #64707d, #696f76

## Harmonies

- Complementary: #2a71b5, #9c5e00
- Split: #2a71b5, #aa502e, #7f6f00
- Analogous: #2a71b5, #007d9e, #6263b6
- Triadic: #2a71b5, #aa4a5c, #547c21
- Tetradic: #2a71b5, #8656a4, #9c5e00, #547c21
- Square: #2a71b5, #9e4d84, #9c5e00, #008455
- Monochromatic: #2a71b5, #002b68, #004e8f, #5096dd, #76bcff

## Questions about #2a71b5

### What color is #2a71b5?

#2a71b5 is bright blue. The closest named color is Campanula. In RGB it is rgb(42, 113, 181), in HSL hsl(209.35, 62.33%, 43.73%) and in OKLCH oklch(53.848% 0.12754 250.71).

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

The complementary color of #2a71b5 is #9c5e00. For a calmer combination use the analogous colors #007d9e and #6263b6. The triadic partners are #aa4a5c and #547c21.

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

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

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

#2a71b5 is a cool color. In OKLCH its hue is 251 degrees, its lightness 53.8% and its chroma 0.128.
