Export

Code

/* Twilight Denim — colorset.net */
:root {
  --color-1: #283A5C;
  --color-2: #3A4F73;
  --color-3: #4C638A;
  --color-4: #5F78A1;
  --color-5: #7A8FB8;

  --color-bg: #F3F7FF;
  --color-surface: #E7EEFB;
  --color-border: #CCD5E6;
  --color-text: #283A5C;
  --color-muted: #5D6A81;
  --color-primary: #5F78A1;
  --color-on-primary: #000000;
  --color-accent: #3A4F73;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #090F1B;
    --color-surface: #131925;
    --color-border: #252E3D;
    --color-text: #94A5C4;
    --color-muted: #76839B;
    --color-primary: #5F78A1;
    --color-on-primary: #000000;
    --color-accent: #52668B;
    --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 #7A8FB8adjusted for contrast · from #283A5C
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #7A8FB8
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #4C638A
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background10.57:1AAA pass 4.5:1
Text on surface9.74:1AAA pass 4.5:1
Muted text on background5.09:1AA pass 4.5:1
Label on primary4.69:1AA pass 4.5:1
Label on accent8.25:1AAA pass 4.5:1
Primary on background4.17:1AA Large pass 3:1
Accent on background7.68:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.70:1AAA pass 4.5:1
Text on surface7.07:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary4.69:1AA pass 4.5:1
Label on accent5.78:1AA pass 4.5:1
Primary on background4.28:1AA Large pass 3:1
Accent on background3.31: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#283A5C (Text 1)#3A4F73 (Text 2)#4C638A (Text 3)#5F78A1 (Text 4)#7A8FB8 (Text 5)
#283A5CSame color1.38—1.87—2.53—3.49AA Large
#3A4F731.38—Same color1.36—1.84—2.53—
#4C638A1.87—1.36—Same color1.36—1.86—
#5F78A12.53—1.84—1.36—Same color1.38—
#7A8FB83.49AA Large2.53—1.86—1.38—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#283A5C#3A4F73#4C638A#5F78A1#7A8FB8

Variations

About Twilight Denim

Twilight Denim brings together two dark blues, two dusty blues and a blue (#283A5C, #3A4F73, #4C638A, #5F78A1, #7A8FB8) in a cool, blue-led scheme. All hues sit within 3° of each other, so dark blue #283A5C and its relatives form a cohesive monochromatic scheme. From #283A5C to #7A8FB8 the colors share a similar mid-tone value (lightness 35%–65%), which suits fills and illustration more than body text. Average chroma is 0.067, low for a palette, so the colors feel soft and muted; the most saturated color is #5F78A1. Text contrast reaches 10.6:1 in light mode and 7.7:1 in dark mode, with #5F78A1 as primary and #3A4F73 as accent. Try it for icons and logos, typography-led layouts and SaaS dashboards, letting blue #5F78A1 carry the key actions.

Twilight Denim color palette: #283A5C, #3A4F73, #4C638A, #5F78A1, #7A8FB8
Share image for Twilight Denim

Gradients in similar colors