Skip to content
Color Codes

CSS named color

CornflowerBlue Color Code

CornflowerBlue is a light, vivid blue with the hex code #6495ED. In RGB it is rgb(100, 149, 237), in HSL hsl(219, 79%, 66%) and in CMYK cmyk(58%, 37%, 0%, 7%).

CornflowerBlue
#6495ED

Color values

In CSS you can write it as the keyword cornflowerblue.

White text on CornflowerBlue has a contrast ratio of 2.97:1 and black text 7.06:1, so black text is the more readable choice.

The closest Tailwind CSS color is Blue 400 (#60A5FA).

Use CornflowerBlue in CSS

.element {
  color: cornflowerblue;
  background-color: #6495ed;
  border-color: rgb(100, 149, 237);
}

Tints and shades of CornflowerBlue

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with CornflowerBlue

Color-wheel harmonies built from #6495ED. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on CornflowerBlue

Aa
White text
2.97:1
Fail
Aa
Black text
7.06:1
AAA
Check in the contrast checker

Colors similar to CornflowerBlue

Palettes with similar colors

Questions about CornflowerBlue

What is the hex code for CornflowerBlue?

The hex code for CornflowerBlue is #6495ED. Its RGB value is rgb(100, 149, 237) and its HSL value is hsl(219, 79%, 66%).

What colors go with CornflowerBlue?

The complementary color of CornflowerBlue is #EDBD64. For a softer scheme try the analogous colors #64D8ED and #7864ED; for a balanced three-color scheme use the triadic colors #ED6494 and #94ED64.

Is CornflowerBlue readable as a text color?

On a white background CornflowerBlue has a contrast ratio of 2.97:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 7.06:1.

More blue colors