Skip to the color picker

#5171dd color: Cornflower

#5171dd is rgb(81, 113, 221) in RGB and oklch(58.076% 0.1684 268.359) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

226°
100%

58.1%
0.168
268°
  • Blue
  • Medium
  • Vivid
  • Cool
  • ≈ Royal blue
  • blue-500
  • Black 13%

Inside sRGB: displays the same on any screen.

White text
4.42:1Hard to read
Lc -76
Black text
4.76:1Readable · AA
Lc 34

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 #5171dd

#5171dd is a bright blue color. In OKLCH it has 58.1% lightness, 0.168 chroma and a hue of 268°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Cornflower (#5170d7). In Tailwind CSS the closest color is blue-500.

More medium blue colors

Lighter: #5171dd mixed with white

Darker: #5171dd mixed with black

Calmer: #5171dd with less saturation

Similar named colors

  • Royal Blue#4169e1

Colors that go with #5171dd

Complementary
Analogous
Triadic
Split

Questions about #5171dd

What color is #5171dd?

#5171dd is bright blue. The closest named color is Cornflower. In RGB it is rgb(81, 113, 221), in HSL hsl(226.29, 67.31%, 59.22%) and in OKLCH oklch(58.076% 0.1684 268.359).

What colors go well with #5171dd?

The complementary color of #5171dd is #9c7400. For a calmer combination use the analogous colors #0084cb and #895ecf. The triadic partners are #cb483d and #00943a.

Is white or black text more readable on #5171dd?

White text reads better on #5171dd: white gives a contrast ratio of 4.42:1 and black gives 4.76:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5171dd a warm or cool color?

#5171dd is a cool color. In OKLCH its hue is 268 degrees, its lightness 58.1% and its chroma 0.168.