Skip to the color picker

#5172d2 color: Cornflower

#5172d2 is rgb(81, 114, 210) in RGB and oklch(57.55% 0.15207 267.263) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

225°
100%

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

Inside sRGB: displays the same on any screen.

White text
4.48:1Hard to read
Lc -76
Black text
4.69: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 #5172d2

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

Inside sRGB: displays the same on any screen.

White text on it reaches 4.48:1 contrast and black text 4.69: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: #5172d2 mixed with white

Darker: #5172d2 mixed with black

Calmer: #5172d2 with less saturation

Similar named colors

Colors that go with #5172d2

Complementary
Analogous
Triadic
Split

Questions about #5172d2

What color is #5172d2?

#5172d2 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 114, 210), in HSL hsl(224.65, 58.9%, 57.06%) and in OKLCH oklch(57.55% 0.15207 267.263).

What colors go well with #5172d2?

The complementary color of #5172d2 is #9b7200. For a calmer combination use the analogous colors #0083c7 and #8461c6. The triadic partners are #c34e45 and #25903f.

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

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

Is #5172d2 a warm or cool color?

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