Export

Code

/* Night Gray — colorset.net */
:root {
  --color-1: #222233;
  --color-2: #333344;
  --color-3: #444455;
  --color-4: #555566;
  --color-5: #666677;

  --color-bg: #F6F6FC;
  --color-surface: #EDEDF3;
  --color-border: #D4D4DD;
  --color-text: #222233;
  --color-muted: #696A7E;
  --color-primary: #666677;
  --color-on-primary: #FFFFFF;
  --color-accent: #333344;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F15;
    --color-surface: #19191F;
    --color-border: #2C2D37;
    --color-text: #A4A5B7;
    --color-muted: #828294;
    --color-primary: #666677;
    --color-on-primary: #FFFFFF;
    --color-accent: #9899A8;
    --color-on-accent: #0F0F15;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.51:1AAA pass 4.5:1
Text on surface13.39:1AAA pass 4.5:1
Muted text on background4.92:1AA pass 4.5:1
Label on primary5.63:1AA pass 4.5:1
Label on accent12.37:1AAA pass 4.5:1
Primary on background5.23:1AA pass 3:1
Accent on background11.49:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.86:1AAA pass 4.5:1
Text on surface7.20:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary5.63:1AA pass 4.5:1
Label on accent6.78:1AA pass 4.5:1
Primary on background3.39:1AA Large pass 3:1
Accent on background6.78:1AA 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#222233 (Text 1)#333344 (Text 2)#444455 (Text 3)#555566 (Text 4)#666677 (Text 5)
#222233Same color1.26—1.64—2.14—2.78—
#3333441.26—Same color1.30—1.69—2.20—
#4444551.64—1.30—Same color1.31—1.69—
#5555662.14—1.69—1.31—Same color1.30—
#6666772.78—2.20—1.69—1.30—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#222233#333344#444455#555566#666677

Variations

About Night Gray

Nearly all of the color weight in Night Gray sits in neutral, which makes it a balanced palette anchored by slate #444455. There is no real hue here; neutrals between #222233 and #666677 do all the work with value contrast. All five colors stay in a narrow dark band (26% to 52% lightness, #222233 to #666677), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.029, peaking at 0.032 in #222233); the palette is close to grayscale. In light mode #F6F6FC becomes the background with #222233 text at 14.5:1, and #666677 takes the primary role. Try it for minimal branding, focused single-product sites and editorial design, letting slate #666677 carry the key actions.

Night Gray color palette: #222233, #333344, #444455, #555566, #666677
Share image for Night Gray

Gradients in similar colors