Twilight Blue

Export

Code

/* Twilight Blue — colorset.net */
:root {
  --color-1: #191970;
  --color-2: #483D8B;
  --color-3: #6A5ACD;
  --color-4: #4169E1;
  --color-5: #87CEEB;

  --color-bg: #ECF9FF;
  --color-surface: #E0F1F8;
  --color-border: #C4D9E2;
  --color-text: #1D2557;
  --color-muted: #636A83;
  --color-primary: #4169E1;
  --color-on-primary: #FFFFFF;
  --color-accent: #4B92AD;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0A0E1F;
    --color-surface: #14182A;
    --color-border: #272C42;
    --color-text: #A1CADB;
    --color-muted: #688794;
    --color-primary: #4169E1;
    --color-on-primary: #FFFFFF;
    --color-accent: #4E5FBA;
    --color-on-accent: #FFFFFF;
  }
}

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 #87CEEBadjusted for contrast · from #191970
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #191970adjusted for contrast · from #87CEEB
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentadjusted for contrast · from #4169E1adjusted for contrast · from #6A5ACD
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.45:1AAA pass 4.5:1
Text on surface12.45: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.01:1AA pass 4.5:1
Primary on background4.51:1AA pass 3:1
Accent on background3.25:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background10.94:1AAA pass 4.5:1
Text on surface10.04:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent5.72:1AA pass 4.5:1
Primary on background3.95:1AA Large pass 3:1
Accent on background3.35:1AA Large 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#191970 (Text 1)#483D8B (Text 2)#6A5ACD (Text 3)#4169E1 (Text 4)#87CEEB (Text 5)
#191970Same color1.64—2.80—3.06AA Large8.53AAA
#483D8B1.64—Same color1.71—1.87—5.21AA
#6A5ACD2.80—1.71—Same color1.09—3.05AA Large
#4169E13.06AA Large1.87—1.09—Same color2.78—
#87CEEB8.53AAA5.21AA3.05AA Large2.78—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#191970#483D8B#6A5ACD#4169E1#87CEEB

Variations

About Twilight Blue

No single hue dominates Twilight Blue: blue carries about 59% of the color weight, shared with purple, and vivid purple #6A5ACD sits in the middle of the range. The 5 chromatic colors span 60° of hue, close enough for deep blue and light blue to read as one family. Lightness spans 29% (#191970) to 81% (#87CEEB), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.142, peaking at 0.188 in #4169E1); the colors are clear without being loud. As a UI theme it uses #4169E1 for primary actions and #4B92AD as the accent; dark mode sits on #0A0E1F with #A1CADB text (10.9:1). With #4169E1 leading, good fits include illustration, data visualization and brand systems with many sub-brands.

Twilight Blue color palette: #191970, #483D8B, #6A5ACD, #4169E1, #87CEEB
Share image for Twilight Blue

Gradients in similar colors