Cornflower blue #6495ED
Cornflower blue is one of the named colours in CSS, written cornflowerblue. Black text reaches 7.06:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | cornflowerblue |
|---|---|
| HEX | #6495ED |
| RGB | rgb(100 149 237) |
| HSL | hsl(219 79% 66%) |
| OKLCH | oklch(67.5% 0.141 261.3) |
| White text | 2.97:1 · body text AA Fail |
| Black text | 7.06:1 · body text AA Pass |
Colours that go with Cornflower blue
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Olympic Blue (#5A82B3), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Cornflower blue itself.
| Colour | HEX | Contrast with Cornflower blue | Body text AA |
|---|---|---|---|
| Dark Tyrian Blue | #12354E | 4.29:1 | Fail |
| Pansy Purple | #7D133A | 3.49:1 | Fail |
| Hay's Russet | #793327 | 3.05:1 | Fail |
| Pompeian Red | #AB2439 | 2.32:1 | Fail |
| Seashell Pink | #FDD4BD | 2.17:1 | Fail |
| Cameo Pink | #E0B3B6 | 1.60:1 | Fail |
| Neutral Gray | #B6BFC1 | 1.59:1 | Fail |
| Olive Ocher | #D6B43E | 1.48:1 | Fail |
| Aconite Violet | #A36AA5 | 1.37:1 | Fail |
| Light Porcelain Green | #00908A | 1.32:1 | Fail |
| Light Mauve | #9A72AA | 1.32:1 | Fail |
| Dark Citrine | #8B835B | 1.29:1 | Fail |
| Jasper Red | #EB5324 | 1.22:1 | Fail |
| Peach Red | #F15A30 | 1.13:1 | Fail |
Palettes with Olympic Blue
- Combination #44 Light Porcelain Green · Olympic Blue
- Combination #67 Olympic Blue · Dark Tyrian Blue
- Combination #157 Pansy Purple · Olive Ocher · Olympic Blue
- Combination #194 Jasper Red · Seashell Pink · Olympic Blue
- Combination #231 Cameo Pink · Hay's Russet · Olympic Blue
- Combination #274 Peach Red · Dark Citrine · Olympic Blue · Light Mauve
- Combination #324 Pompeian Red · Olympic Blue · Aconite Violet · Neutral Gray
Shades and tints of Cornflower blue
Nine lightness steps in OKLCH that keep the hue of Cornflower blue. Chroma is reduced only where sRGB cannot show it.
- 100#F0F5FF
- 200#D7E5FF
- 300#B3CFFF
- 400#85B1FF
- 500#6090E8
- 600#406FC3
- 700#2451A2
- 800#073382
- 900#001B55
:root {
--cornflowerblue-100: #F0F5FF;
--cornflowerblue-200: #D7E5FF;
--cornflowerblue-300: #B3CFFF;
--cornflowerblue-400: #85B1FF;
--cornflowerblue-500: #6090E8;
--cornflowerblue-600: #406FC3;
--cornflowerblue-700: #2451A2;
--cornflowerblue-800: #073382;
--cornflowerblue-900: #001B55;
}
Text that keeps Cornflower blue on screen
Text #001B55 on #6495ED reaches 5.48:1, which passes WCAG AA for body text. Check it on a dashboard