Cornflower Color — #5170D7: Codes, Palettes & Contrast

Cornflower (#5170D7) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Cornflower is a named blue color, ready to use anywhere you need it.

Cornflower#5170D7

Cornflower color codes

HEX#5170D7
RGBrgb(81, 112, 215)
HSLhsl(226, 63%, 58%)
OKLCHoklch(0.575 0.161 268.4)

Browse more blue colors.

Readable text on Cornflower

Black text (#000000) has the higher contrast against this background: 4.65:1.

Text colorRatioNormal text AANormal text AAA
Black4.65:1PassFail
White4.52:1PassFail

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale