Midnight Current

Export

Code

/* Midnight Current — colorset.net */
:root {
  --color-1: #007AFF;
  --color-2: #0051D5;
  --color-3: #0040A0;
  --color-4: #003080;
  --color-5: #002060;

  --color-bg: #F2F7FF;
  --color-surface: #E5EEFB;
  --color-border: #CBD6E6;
  --color-text: #0B2452;
  --color-muted: #5E6C83;
  --color-primary: #0072EE;
  --color-on-primary: #FFFFFF;
  --color-accent: #003080;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #070F1F;
    --color-surface: #10192A;
    --color-border: #222E42;
    --color-text: #92A7C5;
    --color-muted: #74859C;
    --color-primary: #0072EE;
    --color-on-primary: #FFFFFF;
    --color-accent: #3E65AB;
    --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 #007AFFadjusted for contrast · from #002060
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #002060adjusted for contrast · from #007AFF
Muted textderivedderived
Primaryadjusted for contrast · from #007AFFadjusted for contrast · from #007AFF
On primaryderivedderived
Accentfrom palette · color 4adjusted for contrast · from #0051D5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.06:1AAA pass 4.5:1
Text on surface12.93:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent12.11:1AAA pass 4.5:1
Primary on background4.21:1AA Large pass 3:1
Accent on background11.26:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.80:1AAA pass 4.5:1
Text on surface7.16:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent5.75:1AA pass 4.5:1
Primary on background4.23:1AA Large pass 3:1
Accent on background3.33: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#007AFF (Text 1)#0051D5 (Text 2)#0040A0 (Text 3)#003080 (Text 4)#002060 (Text 5)
#007AFFSame color1.67—2.33—3.01AA Large3.80AA Large
#0051D51.67—Same color1.40—1.81—2.28—
#0040A02.33—1.40—Same color1.29—1.63—
#0030803.01AA Large1.81—1.29—Same color1.26—
#0020603.80AA Large2.28—1.63—1.26—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#007AFF#0051D5#0040A0#003080#002060

Variations

About Midnight Current

Midnight Current is a cool blue palette of 5 colors that runs from vivid blue #007AFF to deep blue #002060. With a hue spread of just 4°, it is effectively monochromatic: #007AFF, #0051D5 and #0040A0 differ mostly in lightness. Lightness spans 27% (#002060) to 60% (#007AFF), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.172, peaking at 0.218 in #007AFF); the colors feel saturated and energetic. Text contrast reaches 14.1:1 in light mode and 7.8:1 in dark mode, with #0072EE as primary and #003080 as accent. Try it for festival branding, bold landing pages and posters, letting vivid blue #007AFF carry the key actions.

Midnight Current color palette: #007AFF, #0051D5, #0040A0, #003080, #002060
Share image for Midnight Current

Gradients in similar colors