Export

Code

/* Harbor Mist — colorset.net */
:root {
  --color-1: #ECEFF1;
  --color-2: #CFD8DC;
  --color-3: #B0BEC5;
  --color-4: #90A4AE;
  --color-5: #78909C;

  --color-bg: #ECEFF1;
  --color-surface: #F4F6F7;
  --color-border: #D1D7DB;
  --color-text: #3D535E;
  --color-muted: #586F7B;
  --color-primary: #758D99;
  --color-on-primary: #000000;
  --color-accent: #485B64;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #091114;
    --color-surface: #131B1E;
    --color-border: #253035;
    --color-text: #ECEFF1;
    --color-muted: #858789;
    --color-primary: #78909C;
    --color-on-primary: #091114;
    --color-accent: #CFD8DC;
    --color-on-accent: #091114;
  }
}

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 1adjusted for contrast · from #78909C
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #78909Cfrom palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #78909Cfrom palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #78909Cfrom palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.00:1AAA pass 4.5:1
Text on surface7.46:1AAA pass 4.5:1
Muted text on background4.57:1AA pass 4.5:1
Label on primary6.03:1AA pass 4.5:1
Label on accent7.10:1AAA pass 4.5:1
Primary on background3.02:1AA Large pass 3:1
Accent on background6.15:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.50:1AAA pass 4.5:1
Text on surface15.11:1AAA pass 4.5:1
Muted text on background5.29:1AA pass 4.5:1
Label on primary5.69:1AA pass 4.5:1
Label on accent13.17:1AAA pass 4.5:1
Primary on background5.69:1AA pass 3:1
Accent on background13.17: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#ECEFF1 (Text 1)#CFD8DC (Text 2)#B0BEC5 (Text 3)#90A4AE (Text 4)#78909C (Text 5)
#ECEFF1Same color1.25—1.65—2.24—2.90—
#CFD8DC1.25—Same color1.32—1.79—2.31—
#B0BEC51.65—1.32—Same color1.36—1.76—
#90A4AE2.24—1.79—1.36—Same color1.29—
#78909C2.90—2.31—1.76—1.29—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C

Variations

About Harbor Mist

Five colors make up Harbor Mist, a balanced neutral set: #ECEFF1, #CFD8DC, #B0BEC5, #90A4AE, #78909C. Every color is a neutral, from #ECEFF1 down to #78909C, so the palette works through light and shade alone. With lightness between 64% and 95% and #B0BEC5 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.019, very low for a palette, so the palette is close to grayscale; the most saturated color is #78909C. Text contrast reaches 7.0:1 in light mode and 16.5:1 in dark mode, with #758D99 as primary and #485B64 as accent. Its monochrome character, led by #78909C, suits icons and logos, typography-led layouts and focused single-product sites.

Harbor Mist color palette: #ECEFF1, #CFD8DC, #B0BEC5, #90A4AE, #78909C
Share image for Harbor Mist

Gradients in similar colors