Export

Code

/* Haze Gray — colorset.net */
:root {
  --color-1: #D3D7DB;
  --color-2: #DFE3E7;
  --color-3: #EBEFF3;
  --color-4: #F7FBFF;
  --color-5: #FFFFFF;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #4F5256;
  --color-muted: #6D7074;
  --color-primary: #8B8F92;
  --color-on-primary: #000000;
  --color-accent: #5A5D60;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0E1011;
    --color-surface: #181A1B;
    --color-border: #2B2E32;
    --color-text: #FFFFFF;
    --color-muted: #8F8F8F;
    --color-primary: #D3D7DB;
    --color-on-primary: #0E1011;
    --color-accent: #EBEFF3;
    --color-on-accent: #0E1011;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.85:1AAA pass 4.5:1
Text on surface7.27:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary6.44:1AA pass 4.5:1
Label on accent6.63:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background6.63:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.08:1AAA pass 4.5:1
Text on surface17.46:1AAA pass 4.5:1
Muted text on background5.90:1AA pass 4.5:1
Label on primary13.18:1AAA pass 4.5:1
Label on accent16.51:1AAA pass 4.5:1
Primary on background13.18:1AAA pass 3:1
Accent on background16.51: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#D3D7DB (Text 1)#DFE3E7 (Text 2)#EBEFF3 (Text 3)#F7FBFF (Text 4)#FFFFFF (Text 5)
#D3D7DBSame color1.12—1.25—1.39—1.45—
#DFE3E71.12—Same color1.12—1.24—1.29—
#EBEFF31.25—1.12—Same color1.11—1.16—
#F7FBFF1.39—1.24—1.11—Same color1.04—
#FFFFFF1.45—1.29—1.16—1.04—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#D3D7DB#DFE3E7#EBEFF3#F7FBFF#FFFFFF

Variations

About Haze Gray

Haze Gray is a balanced neutral palette of 5 colors that runs from white #FFFFFF to light gray #D3D7DB. There is no real hue here; neutrals between #D3D7DB and #FFFFFF do all the work with value contrast. All five colors stay in a narrow light band (88% to 100% lightness, #D3D7DB to #FFFFFF), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #EBEFF3 in the middle is a true gray. As a UI theme it uses #8B8F92 for primary actions and #5A5D60 as the accent; dark mode sits on #0E1011 with #FFFFFF text (19.1:1). Try it for minimal portfolios, editorial layouts and typography-led layouts, letting light gray #D3D7DB carry the key actions.

These colors are almost the same as Pure White.

Haze Gray color palette: #D3D7DB, #DFE3E7, #EBEFF3, #F7FBFF, #FFFFFF
Share image for Haze Gray

Gradients in similar colors