Blue color · CSS named color
Cornflower Blue Color Code: #6495ED
The HEX code for Cornflower Blue is #6495ED. It is a medium-light, vivid azure color made of 100 red, 149 green and 237 blue (HSL 219°, 79%, 66%). Black text reads best on it (7.06:1 contrast).
Cornflower Blue color values
#6495ED
rgb(100, 149, 237)
hsl(219, 79%, 66%)
219, 58%, 93%
hwb(219 39% 7%)
58%, 37%, 0%, 7%
6591981
cornflowerblue
CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.
What is Cornflower Blue?
Cornflower Blue is one of the named colors defined by the CSS Color specifications (keyword “cornflowerblue”), so every modern browser understands it without a hex code.
Its hue angle of 219° places it in the azure part of the color wheel, with 79% saturation (vivid) and 66% lightness (medium-light). It is a cool color.
Compared with the other blue colors in the Aqeeb Studio library, it is lighter than 79% of them and more saturated than 41% of them.
Its relative luminance is 0.303, which makes it a light color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.
Cornflower Blue counts as a light color: its HSL lightness is 66% and its relative luminance is 0.303. Black text reads best on it (7.06:1 contrast).
Text contrast on Cornflower Blue
| Text | Preview | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|---|
| White text | Sample text | 2.97:1 Poor | Fail | Fail | Fail | Fail |
| Black text | Sample text | 7.06:1 Excellent | Pass | Pass | Pass | Pass |
Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.
Colors that go with Cornflower Blue
Complementary color
Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.
Analogous colors
Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.
Triadic colors
A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.
Split-complementary colors
Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.
Tetradic colors
A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.
Monochromatic variants
Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.
A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.
Tints and shades of Cornflower Blue
Lighter tints (mixed with white)
Darker shades (mixed with black)
Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.
Similar colors
Where to use Cornflower Blue
- Card, highlight and section backgrounds with dark text (7.06:1 contrast with black)
- Accents that need to stand out: call-to-action buttons, charts and illustrations
- Headers and navigation bars
- Charts and dashboards
- Links, buttons and primary interface accents
- Corporate, finance and software branding
Cornflower Blue appears in these curated palettes: Royal and Gold (Blue Color Palettes).
Use Cornflower Blue in CSS
:root {
--color-cornflower-blue: #6495ED;
}
.element {
color: var(--color-cornflower-blue);
background-color: #6495ED;
border: 2px solid #6495ED;
}
Questions about Cornflower Blue
What is the HEX code for Cornflower Blue?
Cornflower Blue is #6495ED.
What is the RGB value of Cornflower Blue?
The RGB value of Cornflower Blue is 100, 149, 237: 100 red, 149 green and 237 blue on a 0–255 scale, written rgb(100, 149, 237) in CSS.
What is the HSL value of Cornflower Blue?
The HSL value of Cornflower Blue is 219°, 79%, 66% (hue, saturation, lightness), written hsl(219, 79%, 66%) in CSS.
What is the CMYK value of Cornflower Blue?
A standard conversion gives about C 58%, M 37%, Y 0%, K 7%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.
Is Cornflower Blue a light or dark color?
Cornflower Blue counts as a light color: its HSL lightness is 66% and its relative luminance is 0.303. Black text reads best on it (7.06:1 contrast).
How does Cornflower Blue look with white text?
White text on Cornflower Blue has a contrast ratio of 2.97:1, rated Poor. It falls below the WCAG minimum for text.
How does Cornflower Blue look with black text?
Black text on Cornflower Blue has a contrast ratio of 7.06:1, rated Excellent. It meets WCAG AA for normal text.
What colors go well with Cornflower Blue?
Desert is its complementary color, and Aqua Blue sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.
Where can Cornflower Blue be used?
It suits card, highlight and section backgrounds with dark text (7.06:1 contrast with black); accents that need to stand out: call-to-action buttons, charts and illustrations; headers and navigation bars.
How do I use Cornflower Blue in CSS?
Use color: #6495ED; for text, background-color: #6495ED; for fills, or define a custom property such as --color-cornflower-blue: #6495ED; and reuse it with var(--color-cornflower-blue).
About this color page
CSS named color (W3C CSS Color Module). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.