Cornflower Blue

Export

Code

/* Cornflower Blue — colorset.net */
:root {
  --color-1: #6495ED;
  --color-2: #7FA8F5;
  --color-3: #9ABBF9;
  --color-4: #B5CEFC;
  --color-5: #D0E1FF;

  --color-bg: #F2F7FF;
  --color-surface: #E9EEF7;
  --color-border: #CED5E1;
  --color-text: #324D7F;
  --color-muted: #5E6B82;
  --color-primary: #5888DF;
  --color-on-primary: #000000;
  --color-accent: #7989A4;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #070F1F;
    --color-surface: #10192A;
    --color-border: #222E42;
    --color-text: #D0E1FF;
    --color-muted: #75839B;
    --color-primary: #6495ED;
    --color-on-primary: #070F1F;
    --color-accent: #B5CEFC;
    --color-on-accent: #070F1F;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #D0E1FFadjusted for contrast · from #6495ED
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #6495EDfrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #6495EDfrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #6495EDfrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.80:1AAA pass 4.5:1
Text on surface7.20:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary6.00:1AA pass 4.5:1
Label on accent5.93:1AA pass 4.5:1
Primary on background3.25:1AA Large pass 3:1
Accent on background3.29:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.49:1AAA pass 4.5:1
Text on surface13.31:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary6.44:1AA pass 4.5:1
Label on accent12.03:1AAA pass 4.5:1
Primary on background6.44:1AA pass 3:1
Accent on background12.03:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#6495ED (Text 1)#7FA8F5 (Text 2)#9ABBF9 (Text 3)#B5CEFC (Text 4)#D0E1FF (Text 5)
#6495EDSame color1.25—1.54—1.87—2.25—
#7FA8F51.25—Same color1.23—1.50—1.80—
#9ABBF91.54—1.23—Same color1.22—1.47—
#B5CEFC1.87—1.50—1.22—Same color1.20—
#D0E1FF2.25—1.80—1.47—1.20—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#6495ED#7FA8F5#9ABBF9#B5CEFC#D0E1FF

Variations

About Cornflower Blue

Five colors make up Cornflower Blue, a cool blue set: #6495ED, #7FA8F5, #9ABBF9, #B5CEFC, #D0E1FF. All hues sit within 1° of each other, so blue #6495ED and its relatives form a cohesive monochromatic scheme. From #6495ED to #D0E1FF the colors share a similar light value (lightness 67%–91%), which suits fills and illustration more than body text. Average chroma is 0.095, medium for a palette, so the colors are clear without being loud; the most saturated color is #6495ED. As a UI theme it uses #5888DF for primary actions and #7989A4 as the accent; dark mode sits on #070F1F with #D0E1FF text (14.5:1). With #6495ED leading, good fits include corporate sites, healthcare interfaces and stationery.

Cornflower Blue color palette: #6495ED, #7FA8F5, #9ABBF9, #B5CEFC, #D0E1FF
Share image for Cornflower Blue

Gradients in similar colors