Export

Code

/* Midnight Flight — colorset.net */
:root {
  --color-1: #08152C;
  --color-2: #7FBEF3;
  --color-3: #F290A0;
  --color-4: #1E3761;
  --color-5: #E7F0F8;

  --color-bg: #E7F0F8;
  --color-surface: #F1F7FC;
  --color-border: #CCD8E2;
  --color-text: #08152C;
  --color-muted: #5A687F;
  --color-primary: #B5596A;
  --color-on-primary: #FFFFFF;
  --color-accent: #1E3761;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #08152C;
    --color-surface: #122038;
    --color-border: #29354A;
    --color-text: #E7F0F8;
    --color-muted: #848C93;
    --color-primary: #F290A0;
    --color-on-primary: #08152C;
    --color-accent: #5B6C89;
    --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
Backgroundfrom palette · color 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #F290A0from palette · color 3
On primaryderivedderived
Accentfrom palette · color 4adjusted for contrast · from #1E3761
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.79:1AAA pass 4.5:1
Text on surface16.86:1AAA pass 4.5:1
Muted text on background4.90:1AA pass 4.5:1
Label on primary4.56:1AA pass 4.5:1
Label on accent11.84:1AAA pass 4.5:1
Primary on background3.96:1AA Large pass 3:1
Accent on background10.27:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.79:1AAA pass 4.5:1
Text on surface14.13:1AAA pass 4.5:1
Muted text on background5.33:1AA pass 4.5:1
Label on primary8.04:1AAA pass 4.5:1
Label on accent5.31:1AA pass 4.5:1
Primary on background8.04:1AAA pass 3:1
Accent on background3.42: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#08152C (Text 1)#7FBEF3 (Text 2)#F290A0 (Text 3)#1E3761 (Text 4)#E7F0F8 (Text 5)
#08152CSame color9.15AAA8.04AAA1.54—15.79AAA
#7FBEF39.15AAASame color1.14—5.95AA1.72—
#F290A08.04AAA1.14—Same color5.23AA1.96—
#1E37611.54—5.95AA5.23AASame color10.27AAA
#E7F0F815.79AAA1.72—1.96—10.27AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#08152C#7FBEF3#F290A0#1E3761#E7F0F8

Variations

About Midnight Flight

Night-flight navy with a rosy dawn accent for airlines and late-booking apps. Five colors make up Midnight Flight, a cool blue set: #08152C, #7FBEF3, #F290A0, #1E3761, #E7F0F8. Light blue #7FBEF3 and light pink #F290A0 are 125° apart, so the palette has clear hue contrast without clashing. A 75-point lightness range (20% for #08152C to 95% for #E7F0F8) gives strong value contrast, useful for text on background. Average chroma is 0.073, low for a palette, so the colors feel soft and muted; the most saturated color is #F290A0. As a UI theme it uses #B5596A for primary actions and #1E3761 as the accent; dark mode sits on #08152C with #E7F0F8 text (15.8:1). With #F290A0 leading, good fits include bold editorial layouts, accessible interfaces and healthcare interfaces.

Midnight Flight color palette: #08152C, #7FBEF3, #F290A0, #1E3761, #E7F0F8
Share image for Midnight Flight

Gradients in similar colors