Midnight Swim

Export

Code

/* Midnight Swim — colorset.net */
:root {
  --color-1: #001122;
  --color-2: #003366;
  --color-3: #0066CC;
  --color-4: #3399FF;
  --color-5: #99CCFF;

  --color-bg: #F1F8FF;
  --color-surface: #E4EFFB;
  --color-border: #C9D7E5;
  --color-text: #001122;
  --color-muted: #53697C;
  --color-primary: #0066CC;
  --color-on-primary: #FFFFFF;
  --color-accent: #5C8DBD;
  --color-on-accent: #001122;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #001122;
    --color-surface: #061C2D;
    --color-border: #1D3041;
    --color-text: #AECAE6;
    --color-muted: #72869B;
    --color-primary: #0066CC;
    --color-on-primary: #FFFFFF;
    --color-accent: #526A7F;
    --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 #99CCFFfrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #99CCFF
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #3399FFadjusted for contrast · from #0066CC
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.78:1AAA pass 4.5:1
Text on surface16.35:1AAA pass 4.5:1
Muted text on background5.33:1AA pass 4.5:1
Label on primary5.57:1AA pass 4.5:1
Label on accent5.44:1AA pass 4.5:1
Primary on background5.20:1AA pass 3:1
Accent on background3.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background11.23:1AAA pass 4.5:1
Text on surface10.23:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary5.57:1AA pass 4.5:1
Label on accent5.63:1AA pass 4.5:1
Primary on background3.42:1AA Large pass 3:1
Accent on background3.38: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#001122 (Text 1)#003366 (Text 2)#0066CC (Text 3)#3399FF (Text 4)#99CCFF (Text 5)
#001122Same color1.51—3.42AA Large6.47AA11.27AAA
#0033661.51—Same color2.27—4.29AA Large7.47AAA
#0066CC3.42AA Large2.27—Same color1.89—3.30AA Large
#3399FF6.47AA4.29AA Large1.89—Same color1.74—
#99CCFF11.27AAA7.47AAA3.30AA Large1.74—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#001122#003366#0066CC#3399FF#99CCFF

Variations

About Midnight Swim

Midnight Swim brings together a deep blue, a dark blue, two vivid blues and a light blue (#001122, #003366, #0066CC, #3399FF, #99CCFF) in a cool, blue-led scheme. All hues sit within 10° of each other, so deep blue #001122 and its relatives form a cohesive monochromatic scheme. A 66-point lightness range (17% for #001122 to 83% for #99CCFF) gives strong value contrast, useful for text on background. Average chroma is 0.118, medium for a palette, so the colors are clear without being loud; the most saturated color is #0066CC. As a UI theme it uses #0066CC for primary actions and #5C8DBD as the accent; dark mode sits on #001122 with #AECAE6 text (11.2:1). Its monochrome character, led by #0066CC, suits SaaS dashboards, fintech and banking apps and healthcare interfaces.

Midnight Swim color palette: #001122, #003366, #0066CC, #3399FF, #99CCFF
Share image for Midnight Swim

Gradients in similar colors