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%).
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.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on CornflowerBlue
Colors similar to CornflowerBlue
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
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.