Cornflower Royal

Export

Code

/* Cornflower Royal — colorset.net */
:root {
  --color-1: #4169E1;
  --color-2: #5579F1;
  --color-3: #6989FF;
  --color-4: #7D99FF;
  --color-5: #91A9FF;

  --color-bg: #F4F7FF;
  --color-surface: #E8EDFB;
  --color-border: #CFD4E6;
  --color-text: #394D81;
  --color-muted: #616B83;
  --color-primary: #4169E1;
  --color-on-primary: #FFFFFF;
  --color-accent: #5D71C2;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #12192A;
    --color-border: #242D42;
    --color-text: #A2ADCF;
    --color-muted: #79819B;
    --color-primary: #4169E1;
    --color-on-primary: #FFFFFF;
    --color-accent: #91A9FF;
    --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 #91A9FFadjusted for contrast · from #4169E1
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4169E1adjusted for contrast · from #91A9FF
Muted textderivedderived
Primaryfrom palette · color 1from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #4169E1from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.68:1AAA pass 4.5:1
Text on surface7.03:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent4.56:1AA pass 4.5:1
Primary on background4.52:1AA pass 3:1
Accent on background4.25:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.57:1AAA pass 4.5:1
Text on surface7.86:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent8.49:1AAA pass 4.5:1
Primary on background3.94:1AA Large pass 3:1
Accent on background8.49: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#4169E1 (Text 1)#5579F1 (Text 2)#6989FF (Text 3)#7D99FF (Text 4)#91A9FF (Text 5)
#4169E1Same color1.24—1.53—1.82—2.15—
#5579F11.24—Same color1.23—1.46—1.73—
#6989FF1.53—1.23—Same color1.19—1.41—
#7D99FF1.82—1.46—1.19—Same color1.18—
#91A9FF2.15—1.73—1.41—1.18—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4169E1#5579F1#6989FF#7D99FF#91A9FF

Variations

About Cornflower Royal

Five colors make up Cornflower Royal, a cool blue set: #4169E1, #5579F1, #6989FF, #7D99FF, #91A9FF. All hues sit within 5° of each other, so vivid blue #4169E1 and its relatives form a cohesive monochromatic scheme. From #4169E1 to #91A9FF the colors share a similar mid-tone value (lightness 56%–75%), which suits fills and illustration more than body text. Average chroma is 0.166, high for a palette, so the colors feel saturated and energetic; the most saturated color is #4169E1. As a UI theme it uses #4169E1 for primary actions and #5D71C2 as the accent; dark mode sits on #080F1F with #A2ADCF text (8.6:1). With #4169E1 leading, good fits include SaaS dashboards, fintech and banking apps and bold landing pages.

Cornflower Royal color palette: #4169E1, #5579F1, #6989FF, #7D99FF, #91A9FF
Share image for Cornflower Royal

Gradients in similar colors