Cornflower Drift

Export

Code

/* Cornflower Drift — colorset.net */
:root {
  --color-1: #4F86C6;
  --color-2: #4169E1;
  --color-3: #6495ED;
  --color-4: #87CEEB;
  --color-5: #B0E0E6;

  --color-bg: #ECFAFC;
  --color-surface: #E3F1F2;
  --color-border: #C7D9DB;
  --color-text: #394D81;
  --color-muted: #616B83;
  --color-primary: #4169E1;
  --color-on-primary: #FFFFFF;
  --color-accent: #639196;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #12192A;
    --color-border: #242D42;
    --color-text: #B0E0E6;
    --color-muted: #678A8F;
    --color-primary: #4169E1;
    --color-on-primary: #FFFFFF;
    --color-accent: #87CEEB;
    --color-on-accent: #080F1F;
  }
}

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 #B0E0E6adjusted for contrast · from #4169E1
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4169E1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #4F86C6from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.70:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent6.02:1AA pass 4.5:1
Primary on background4.53:1AA pass 3:1
Accent on background3.26:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.34:1AAA pass 4.5:1
Text on surface12.23:1AAA pass 4.5:1
Muted text on background5.11:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent10.98:1AAA pass 4.5:1
Primary on background3.94:1AA Large pass 3:1
Accent on background10.98: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#4F86C6 (Text 1)#4169E1 (Text 2)#6495ED (Text 3)#87CEEB (Text 4)#B0E0E6 (Text 5)
#4F86C6Same color1.28—1.27—2.17—2.64—
#4169E11.28—Same color1.63—2.78—3.38AA Large
#6495ED1.27—1.63—Same color1.71—2.07—
#87CEEB2.17—2.78—1.71—Same color1.22—
#B0E0E62.64—3.38AA Large2.07—1.22—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4F86C6#4169E1#6495ED#87CEEB#B0E0E6

Variations

About Cornflower Drift

About 88% of the color weight in Cornflower Drift sits in blue, which makes it a cool palette anchored by blue #6495ED. The 5 chromatic colors span 61° of hue, close enough for blue and light teal to read as one family. Lightness spans 56% (#4169E1) to 88% (#B0E0E6), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.115, peaking at 0.188 in #4169E1); the colors are clear without being loud. As a UI theme it uses #4169E1 for primary actions and #639196 as the accent; dark mode sits on #080F1F with #B0E0E6 text (13.3:1). Its character, led by #4169E1, suits fintech and banking apps, SaaS dashboards and corporate sites.

Cornflower Drift color palette: #4F86C6, #4169E1, #6495ED, #87CEEB, #B0E0E6
Share image for Cornflower Drift

Gradients in similar colors