TintShelf
Interface

Cornflower Blue Color Code: Hex #6495ED

The hex code for Cornflower Blue is #6495ED (the CSS keyword cornflowerblue). Cornflower Blue RGB code: rgb(100, 149, 237). The xkcd color survey gives #5170D7 instead, which looks clearly different; both codes are below with their source.

CSS Color 4#6495EDTop: the code browsers use
xkcd color survey#5170D7Below: compare edge to edge

Cornflower Blue color codes: each Cornflower Blue hex code in every format

HEX#6495ED
RGBrgb(100, 149, 237)
HSLhsl(219, 79%, 66%)
OKLCHoklch(67.5% 0.141 261.3)
LABlab(61.2 3.0 -50.2)
CMYKcmyk(58%, 37%, 0%, 7%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
3 different ones in 3 color lists; they look clearly different
Family
blue
Contrast
2.97:1 with white, 7.06:1 with black
CSS keyword
cornflowerblue
Character
mid-tone, moderately saturated
Readable text on it
black (AA)

It is named after the cornflower, Centaurea cyanus, a plant that grows wild in European grain fields; the word itself is corn plus flower. A blue colorant was once made from cornflower petals and used in some 18th-century watercolors, but it fades in light.

A mid-tone, moderately saturated blue with a cool cast. In code, cornflowerblue gives exactly this web value. If you mean the color as people usually picture the name, the survey value #5170D7 is closer: it is darker and more vivid.

Black text reads best on it; white text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Dodger Blue, its closest named neighbour, it looks lighter, more muted and warmer; beside Steel Blue it looks lighter, more vivid and cooler.

Colors that go with Cornflower Blue

Complementary: the opposite of Cornflower Blue

Open in generator

  • #6495EDBlack text 7.06:1
  • #C28C00Black text 7.05:1
  • #A9C5F8Black text 12.03:1
  • #775500White text 6.81:1

Analogous

Open in generator

  • #00A4DBBlack text 7.33:1
  • #6495EDBlack text 7.06:1
  • #9885E6Black text 6.83:1
  • #C0D5FABlack text 14.14:1

Triadic

Open in generator

  • #6495EDBlack text 7.06:1
  • #E06F70Black text 6.68:1
  • #61AC56Black text 7.54:1
  • #D7E5FCBlack text 16.50:1

Monochrome

Open in generator

  • #162642White text 15.11:1
  • #3B5A93White text 6.84:1
  • #6495EDBlack text 7.06:1
  • #92B6F4Black text 10.22:1
  • #C0D5FABlack text 14.14:1

With neutrals

Open in generator

  • #6495EDBlack text 7.06:1
  • #D7E5FCBlack text 16.50:1
  • #070F1EWhite text 19.16:1
  • #7988A1Black text 5.85:1

How tints, shades and harmonies are calculated

Preview

Heading on Cornflower Blue

Body text on this color, 7.06:1.

Button

Heading in Cornflower Blue

Text in this color on white, 2.97:1.

Button

Tints and shades

  1. #D7E5FC
  2. #C0D5FA
  3. #A9C5F8
  4. #92B6F4
  5. #7BA5F1
  6. #6495ED
  7. #4F77BF
  8. #3B5A93
  9. #283F69
  10. #162642
  11. #070F1E

WhiteCornflower BlueBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.