Export

Code

/* Harbor Dusk — colorset.net */
:root {
  --color-1: #333D51;
  --color-2: #495A75;
  --color-3: #5E779D;
  --color-4: #7B94C1;
  --color-5: #A0B5D8;

  --color-bg: #F2F7FF;
  --color-surface: #E7EEF9;
  --color-border: #CDD5E4;
  --color-text: #333D51;
  --color-muted: #606B81;
  --color-primary: #5E779D;
  --color-on-primary: #FFFFFF;
  --color-accent: #768AAB;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0C0F16;
    --color-surface: #161921;
    --color-border: #292E38;
    --color-text: #A2B5D5;
    --color-muted: #75839B;
    --color-primary: #5E779D;
    --color-on-primary: #FFFFFF;
    --color-accent: #5B667C;
    --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 #A0B5D8adjusted for contrast · from #333D51
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #A0B5D8
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #7B94C1adjusted for contrast · from #495A75
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background10.13:1AAA pass 4.5:1
Text on surface9.34:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary4.56:1AA pass 4.5:1
Label on accent5.99:1AA pass 4.5:1
Primary on background4.24:1AA Large pass 3:1
Accent on background3.26:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background9.23:1AAA pass 4.5:1
Text on surface8.46:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.56:1AA pass 4.5:1
Label on accent5.77:1AA pass 4.5:1
Primary on background4.20:1AA Large pass 3:1
Accent on background3.32: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#333D51 (Text 1)#495A75 (Text 2)#5E779D (Text 3)#7B94C1 (Text 4)#A0B5D8 (Text 5)
#333D51Same color1.56—2.39—3.55AA Large5.24AA
#495A751.56—Same color1.53—2.28—3.36AA Large
#5E779D2.39—1.53—Same color1.49—2.19—
#7B94C13.55AA Large2.28—1.49—Same color1.47—
#A0B5D85.24AA3.36AA Large2.19—1.47—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#333D51#495A75#5E779D#7B94C1#A0B5D8

Variations

About Harbor Dusk

Five colors make up Harbor Dusk, a cool blue set: #333D51, #495A75, #5E779D, #7B94C1, #A0B5D8. All hues sit within 5° of each other, so dark blue #333D51 and its relatives form a cohesive monochromatic scheme. With lightness between 36% and 77% and #5E779D near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.056, low for a palette, so the colors feel soft and muted; the most saturated color is #7B94C1. Text contrast reaches 10.1:1 in light mode and 9.2:1 in dark mode, with #5E779D as primary and #768AAB as accent. With #5E779D leading, good fits include SaaS dashboards, fintech and banking apps and icons and logos.

Harbor Dusk color palette: #333D51, #495A75, #5E779D, #7B94C1, #A0B5D8
Share image for Harbor Dusk

Gradients in similar colors