Skip to the color picker

#5170b2 color: Prefect

#5170b2 is rgb(81, 112, 178) in RGB and oklch(55.178% 0.10945 264.084) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

221°
100%

55.2%
0.109
264°
  • Blue
  • Medium
  • Soft
  • Cool
  • ≈ Steel blue
  • slate-500
  • Black 30%

Inside sRGB: displays the same on any screen.

White text
4.87:1Readable · AA
Lc -79
Black text
4.31:1Hard to read
Lc 30

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

#5170b2 is a soft blue color. In OKLCH it has 55.2% lightness, 0.109 chroma and a hue of 264°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Prefect (#5772b0). In Tailwind CSS the closest color is slate-500.

More medium blue colors

Lighter: #5170b2 mixed with white

Darker: #5170b2 mixed with black

Calmer: #5170b2 with less saturation

Similar named colors

Colors that go with #5170b2

Complementary
Analogous
Triadic
Split

Questions about #5170b2

What color is #5170b2?

#5170b2 is soft blue. The closest named color is Prefect. In RGB it is rgb(81, 112, 178), in HSL hsl(220.82, 38.65%, 50.78%) and in OKLCH oklch(55.178% 0.10945 264.084).

What colors go well with #5170b2?

The complementary color of #5170b2 is #906c0d. For a calmer combination use the analogous colors #167ba8 and #7664ab. The triadic partners are #a95652 and #468247.

Is white or black text more readable on #5170b2?

White text reads better on #5170b2: white gives a contrast ratio of 4.87:1 and black gives 4.31:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5170b2 a warm or cool color?

#5170b2 is a cool color. In OKLCH its hue is 264 degrees, its lightness 55.2% and its chroma 0.109.