Skip to content

Cornflower blue

Cornflower blue is a light, rich shade of blue. Hex code #6495ED.

Cornflower blue#6495ED

Cornflower blue color codes

  • CSS namecornflowerblue
  • HEX#6495ED
  • RGBrgb(100, 149, 237)
  • HSLhsl(219, 79%, 66%)
  • OKLCHoklch(67.5% 0.141 261.3)
HSB and CMYK values
  • HSB / HSVhsb(219, 58%, 93%)
  • CMYKC58 M37 Y0 K7

White text

2.97:1 · fails WCAG

Black text

7.06:1 · passes WCAG AAA

Shades of cornflower blue

A darker shade of cornflower blue is #3764B8 (500), and a lighter one is #93B9FB (200).

Colors that go with cornflower blue

Complementary

Analogous

Triadic

The complementary color of cornflower blue is #EDBC64, close to burlywood.

Click a color to copy its hex code.

Colors similar to cornflower blue

Each compared with cornflower blue.

About this color

Cornflower blue in CSS and design

Cornflower blue is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same cornflower blue:

color: cornflowerblue;
color: #6495ED;
color: rgb(100, 149, 237);
color: hsl(219, 79%, 66%);

Frequently asked questions

What is the hex code for cornflower blue?

#6495ED. In CSS you can also use the keyword cornflowerblue, which works in every browser.

What is cornflower blue in RGB and HSL?

In RGB it is rgb(100, 149, 237) and in HSL hsl(219, 79%, 66%). In CMYK it is about C58 M37 Y0 K7, though printed colors vary with paper and ink.

Should I use black or white text on cornflower blue?

Black text works better: it has a contrast ratio of 7.06:1 and passes WCAG AAA. White text reaches 2.97:1.

What is the complementary color of cornflower blue?

#EDBC64, close to burlywood. It sits opposite cornflower blue on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with cornflower blue?

For strong contrast, pair it with its complementary color #EDBC64. For a calmer look, combine it with its analogous neighbors #64D9ED and #7864ED. The palette generator builds more combinations.