Skip to the color picker

#2871a8 color: Mega Blue

#2871a8 is rgb(40, 113, 168) in RGB and oklch(53.026% 0.11196 245.239) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

206°
100%

53%
0.112
245°
  • Sky blue
  • Medium
  • Vivid
  • Cool
  • ≈ Cerulean
  • sky-700
  • Black 34%

Inside sRGB: displays the same on any screen.

White text
5.23:1Readable · AA
Lc -81
Black text
4.02:1Hard to read
Lc 28

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

#2871a8 is a bright sky blue color. In OKLCH it has 53% lightness, 0.112 chroma and a hue of 245°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Mega Blue (#366fa6). In Tailwind CSS the closest color is sky-700.

More medium sky blue colors

Lighter: #2871a8 mixed with white

Darker: #2871a8 mixed with black

Calmer: #2871a8 with less saturation

Similar named colors

Colors that go with #2871a8

Complementary
Analogous
Triadic
Split

Questions about #2871a8

What color is #2871a8?

#2871a8 is bright sky blue. The closest named color is Mega Blue. In RGB it is rgb(40, 113, 168), in HSL hsl(205.78, 61.54%, 40.78%) and in OKLCH oklch(53.026% 0.11196 245.239).

What colors go well with #2871a8?

The complementary color of #2871a8 is #975c12. For a calmer combination use the analogous colors #007b94 and #5a65ac. The triadic partners are #a04d63 and #5d7725.

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

White text reads better on #2871a8: white gives a contrast ratio of 5.23:1 and black gives 4.02:1. WCAG AA asks for at least 4.5:1 for body text.

Is #2871a8 a warm or cool color?

#2871a8 is a cool color. In OKLCH its hue is 245 degrees, its lightness 53% and its chroma 0.112.