Skip to the color picker

#2871b5 color: Campanula

#2871b5 is rgb(40, 113, 181) in RGB and oklch(53.79% 0.12818 250.288) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

209°
100%

53.8%
0.128
250°
  • Blue
  • Medium
  • Vivid
  • Cool
  • ≈ Cerulean
  • sky-700
  • Black 29%

Inside sRGB: displays the same on any screen.

White text
5.10:1Readable · AA
Lc -80
Black text
4.12:1Hard to read
Lc 29

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #2871b5

#2871b5 is a bright blue color. In OKLCH it has 53.8% lightness, 0.128 chroma and a hue of 250°.

Inside sRGB: displays the same on any screen.

White text on it reaches 5.1:1 contrast and black text 4.12:1, so white text reads better.

The closest named color is Campanula (#3473b7). In Tailwind CSS the closest color is sky-700.

More medium blue colors

Lighter: #2871b5 mixed with white

Darker: #2871b5 mixed with black

Calmer: #2871b5 with less saturation

Similar named colors

Colors that go with #2871b5

Complementary
Analogous
Triadic
Split

Questions about #2871b5

What color is #2871b5?

#2871b5 is bright blue. The closest named color is Campanula. In RGB it is rgb(40, 113, 181), in HSL hsl(208.94, 63.8%, 43.33%) and in OKLCH oklch(53.79% 0.12818 250.288).

What colors go well with #2871b5?

The complementary color of #2871b5 is #9c5e00. For a calmer combination use the analogous colors #007c9e and #6163b6. The triadic partners are #aa495c and #547c1f.

Is white or black text more readable on #2871b5?

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

#2871b5 is a cool color. In OKLCH its hue is 250 degrees, its lightness 53.8% and its chroma 0.128.