Cornflower Blue Color Code (#6495ed)

Cornflower Blue is #6495ed in hex and rgb(100, 149, 237) — a light blue. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Cornflower Blue
#6495ed
CSS namecornflowerblue
Hex#6495ed
RGBrgb(100, 149, 237)
HSLhsl(219 79% 66%)
HWBhwb(219 39% 7%)
CMYK58%, 37%, 0%, 7%

Tints and shades

Color harmonies

About Cornflower Blue

Cornflower Blue (cornflowerblue) is a light, vivid blue with the hex code #6495ed, or rgb(100, 149, 237). In HSL it sits at a hue of 219°, 79% saturation and 66% lightness. It is one of the 148 named colors every browser understands, so you can write color: cornflowerblue; instead of the hex value.

Using Cornflower Blue for text and backgrounds

PairingContrast ratioWCAG
Cornflower Blue text on white2.97 : 1fails
Cornflower Blue text on black7.06 : 1AAA

On a cornflower blue background, use black text (7.06 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: cornflowerblue;               /* or #6495ed */
  background-color: #6495ed;
  border: 1px solid rgb(100 149 237 / 50%);
}

Similar named colors

Medium Slate Blue (#7b68ee), Royal Blue (#4169e1), Medium Purple (#9370db), Sky Blue (#87ceeb), Steel Blue (#4682b4), Slate Blue (#6a5acd).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for cornflower blue?
#6495ed — that is rgb(100, 149, 237) and hsl(219, 79%, 66%). In CSS you can also just write cornflowerblue.
Is cornflower blue text readable on white?
Its contrast ratio on white is 2.97 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with cornflower blue?
Its complementary color is #edbd64; analogous colors #64d8ed and #7864ed sit next to it on the color wheel.