Skip to the color picker

#5172d1 color: Cornflower

#5172d1 is rgb(81, 114, 209) in RGB and oklch(57.485% 0.15069 267.18) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

225°
100%

57.5%
0.151
267°
  • Blue
  • Medium
  • Soft
  • Cool
  • ≈ Royal blue
  • sky-600
  • Black 18%

Inside sRGB: displays the same on any screen.

White text
4.49:1Hard to read
Lc -76
Black text
4.68:1Readable · AA
Lc 33

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 #5172d1

#5172d1 is a soft blue color. In OKLCH it has 57.5% lightness, 0.151 chroma and a hue of 267°.

Inside sRGB: displays the same on any screen.

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

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

More medium blue colors

Lighter: #5172d1 mixed with white

Darker: #5172d1 mixed with black

Calmer: #5172d1 with less saturation

Similar named colors

Colors that go with #5172d1

Complementary
Analogous
Triadic
Split

Questions about #5172d1

What color is #5172d1?

#5172d1 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 209), in HSL hsl(224.53, 58.18%, 56.86%) and in OKLCH oklch(57.485% 0.15069 267.18).

What colors go well with #5172d1?

The complementary color of #5172d1 is #9b7200. For a calmer combination use the analogous colors #0083c6 and #8462c6. The triadic partners are #c24e45 and #27903f.

Is white or black text more readable on #5172d1?

White text reads better on #5172d1: white gives a contrast ratio of 4.49:1 and black gives 4.68:1. WCAG AA asks for at least 4.5:1 for body text.

Is #5172d1 a warm or cool color?

#5172d1 is a cool color. In OKLCH its hue is 267 degrees, its lightness 57.5% and its chroma 0.151.