Skip to the color picker

#5174d1 color: Cornflower

#5174d1 is rgb(81, 116, 209) in RGB and oklch(57.9% 0.14824 266.345) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

224°
100%

57.9%
0.148
266°
  • Blue
  • Medium
  • Soft
  • Cool
  • ≈ Royal blue
  • sky-600
  • Black 18%

Inside sRGB: displays the same on any screen.

White text
4.40:1Hard to read
Lc -76
Black text
4.77: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 #5174d1

#5174d1 is a soft blue color. In OKLCH it has 57.9% lightness, 0.148 chroma and a hue of 266°.

Inside sRGB: displays the same on any screen.

White text on it reaches 4.4:1 contrast and black text 4.77: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: #5174d1 mixed with white

Darker: #5174d1 mixed with black

Calmer: #5174d1 with less saturation

Similar named colors

Colors that go with #5174d1

Complementary
Analogous
Triadic
Split

Questions about #5174d1

What color is #5174d1?

#5174d1 is soft blue. The closest named color is Cornflower. In RGB it is rgb(81, 116, 209), in HSL hsl(223.59, 58.18%, 56.86%) and in OKLCH oklch(57.9% 0.14824 266.345).

What colors go well with #5174d1?

The complementary color of #5174d1 is #9d7200. For a calmer combination use the analogous colors #0084c5 and #8464c6. The triadic partners are #c25049 and #2f9040.

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

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

Is #5174d1 a warm or cool color?

#5174d1 is a cool color. In OKLCH its hue is 266 degrees, its lightness 57.9% and its chroma 0.148.