Cornflower Blue Color
HEX #6495ED · rgb(100, 149, 237) · hsl(219, 79%, 66%)
Cornflower Blue color codes
Cornflower Blue is one of the named colors every browser understands. In CSS you can write it as cornflowerblue or #6495ED.
| Format | Value | |
|---|---|---|
| HEX | #6495ED | |
| RGB | rgb(100, 149, 237) | |
| HSL | hsl(219, 79%, 66%) | |
| CMYK | 58%, 37%, 0%, 7% | |
| CSS name | cornflowerblue |
.example {
color: cornflowerblue;
background-color: #6495ED;
border-color: rgb(100, 149, 237);
}
Colors that go with cornflower blue
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of cornflower blue
Tints mix the color with white; shades mix it with black.
Cornflower Blue
Contrast and readability
7.06:1
passes AA and AAA
2.97:1
fails
Use black text on cornflower blue. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for cornflower blue?
The hex code for cornflower blue is #6495ED.
What is the RGB value of cornflower blue?
Cornflower Blue is rgb(100, 149, 237): 100 red, 149 green and 237 blue on a 0 to 255 scale.
What color goes with cornflower blue?
Its complementary color is #EDBC64, which is closest to the named color sandy brown. Analogous and triadic matches are listed on this page.
Should text on cornflower blue be black or white?
Use black text. The contrast ratio is 7.06:1 with black and 2.97:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.