Swatchproof

Cornflower blue #6495ED

Cornflower blue is one of the named colours in CSS, written cornflowerblue. Black text reaches 7.06:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordcornflowerblue
HEX#6495ED
RGBrgb(100 149 237)
HSLhsl(219 79% 66%)
OKLCHoklch(67.5% 0.141 261.3)
White text2.97:1 · body text AA Fail
Black text7.06:1 · body text AA Pass

Colours that go with Cornflower blue

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Olympic Blue (#5A82B3), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Cornflower blue itself.

ColourHEXContrast with Cornflower blueBody text AA
Dark Tyrian Blue#12354E4.29:1Fail
Pansy Purple#7D133A3.49:1Fail
Hay's Russet#7933273.05:1Fail
Pompeian Red#AB24392.32:1Fail
Seashell Pink#FDD4BD2.17:1Fail
Cameo Pink#E0B3B61.60:1Fail
Neutral Gray#B6BFC11.59:1Fail
Olive Ocher#D6B43E1.48:1Fail
Aconite Violet#A36AA51.37:1Fail
Light Porcelain Green#00908A1.32:1Fail
Light Mauve#9A72AA1.32:1Fail
Dark Citrine#8B835B1.29:1Fail
Jasper Red#EB53241.22:1Fail
Peach Red#F15A301.13:1Fail

Palettes with Olympic Blue

Shades and tints of Cornflower blue

Nine lightness steps in OKLCH that keep the hue of Cornflower blue. Chroma is reduced only where sRGB cannot show it.

:root {
  --cornflowerblue-100: #F0F5FF;
  --cornflowerblue-200: #D7E5FF;
  --cornflowerblue-300: #B3CFFF;
  --cornflowerblue-400: #85B1FF;
  --cornflowerblue-500: #6090E8;
  --cornflowerblue-600: #406FC3;
  --cornflowerblue-700: #2451A2;
  --cornflowerblue-800: #073382;
  --cornflowerblue-900: #001B55;
}

Text that keeps Cornflower blue on screen

Text #001B55 on #6495ED reaches 5.48:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours