Skip to the color picker

#5a7df2 color: Pan Purple

#5a7df2 is rgb(90, 125, 242) in RGB and oklch(62.347% 0.17939 268.307) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

226°
100%

62.3%
0.179
268°
  • Blue
  • Medium
  • Vivid
  • Cool
  • ≈ Azure
  • blue-500
  • Black 5%

Inside sRGB: displays the same on any screen.

White text
3.72:1Hard to read
Lc -70
Black text
5.65:1Readable · AA
Lc 40

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

#5a7df2 is a bright blue color. In OKLCH it has 62.3% lightness, 0.179 chroma and a hue of 268°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Pan Purple (#657aef). In Tailwind CSS the closest color is blue-500.

More medium blue colors

Lighter: #5a7df2 mixed with white

Darker: #5a7df2 mixed with black

Calmer: #5a7df2 with less saturation

Similar named colors

Colors that go with #5a7df2

Complementary
Analogous
Triadic
Split

Questions about #5a7df2

What color is #5a7df2?

#5a7df2 is bright blue. The closest named color is Pan Purple. In RGB it is rgb(90, 125, 242), in HSL hsl(226.18, 85.39%, 65.1%) and in OKLCH oklch(62.347% 0.17939 268.307).

What colors go well with #5a7df2?

The complementary color of #5a7df2 is #ab8000. For a calmer combination use the analogous colors #0091de and #9769e3. The triadic partners are #df5144 and #00a342.

Is white or black text more readable on #5a7df2?

White text reads better on #5a7df2: white gives a contrast ratio of 3.72:1 and black gives 5.65:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5a7df2 a warm or cool color?

#5a7df2 is a cool color. In OKLCH its hue is 268 degrees, its lightness 62.3% and its chroma 0.179.