Export

Code

/* Blue Night — colorset.net */
:root {
  --color-1: #0F172A;
  --color-2: #1E293B;
  --color-3: #334155;
  --color-4: #475569;
  --color-5: #64748B;

  --color-bg: #F2F7FF;
  --color-surface: #E8EEF6;
  --color-border: #CED6E0;
  --color-text: #0F172A;
  --color-muted: #616C83;
  --color-primary: #64748B;
  --color-on-primary: #FFFFFF;
  --color-accent: #1E293B;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F172A;
    --color-surface: #192236;
    --color-border: #2D374C;
    --color-text: #9CAEC6;
    --color-muted: #7A8AA1;
    --color-primary: #64748B;
    --color-on-primary: #FFFFFF;
    --color-accent: #99A7BC;
    --color-on-accent: #0F172A;
  }
}

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 #64748Bfrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #64748B
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #64748B
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.60:1AAA pass 4.5:1
Text on surface15.30:1AAA pass 4.5:1
Muted text on background4.90:1AA pass 4.5:1
Label on primary4.76:1AA pass 4.5:1
Label on accent14.63:1AAA pass 4.5:1
Primary on background4.42:1AA Large pass 3:1
Accent on background13.60:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.89:1AAA pass 4.5:1
Text on surface7.01:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary4.76:1AA pass 4.5:1
Label on accent7.32:1AAA pass 4.5:1
Primary on background3.75:1AA Large pass 3:1
Accent on background7.32: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#0F172A (Text 1)#1E293B (Text 2)#334155 (Text 3)#475569 (Text 4)#64748B (Text 5)
#0F172ASame color1.22—1.72—2.36—3.75AA Large
#1E293B1.22—Same color1.41—1.93—3.07AA Large
#3341551.72—1.41—Same color1.37—2.18—
#4755692.36—1.93—1.37—Same color1.59—
#64748B3.75AA Large3.07AA Large2.18—1.59—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0F172A#1E293B#334155#475569#64748B

Variations

About Blue Night

Blue Night brings together two deep blues, two dark blues and a dusty blue (#0F172A, #1E293B, #334155, #475569, #64748B) in a cool, blue-led scheme. All hues sit within 8° of each other, so deep blue #0F172A and its relatives form a cohesive monochromatic scheme. With lightness between 21% and 55% and #334155 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.039, low for a palette, so the colors feel soft and muted; the most saturated color is #64748B. As a UI theme it uses #64748B for primary actions and #1E293B as the accent; dark mode sits on #0F172A with #9CAEC6 text (7.9:1). With #64748B leading, good fits include calm productivity apps, editorial design and photography portfolios.

Blue Night color palette: #0F172A, #1E293B, #334155, #475569, #64748B
Share image for Blue Night

Gradients in similar colors