Export

Code

/* Obsidian Gray — colorset.net */
:root {
  --color-1: #0F0F0F;
  --color-2: #1A1A1A;
  --color-3: #2C2C2C;
  --color-4: #3F3F3F;
  --color-5: #525252;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #0F0F0F;
  --color-muted: #656565;
  --color-primary: #525252;
  --color-on-primary: #FFFFFF;
  --color-accent: #2C2C2C;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302C2D;
    --color-text: #A4A4A4;
    --color-muted: #828282;
    --color-primary: #666666;
    --color-on-primary: #FFFFFF;
    --color-accent: #989898;
    --color-on-accent: #0F0F0F;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.89:1AAA pass 4.5:1
Text on surface16.37:1AAA pass 4.5:1
Muted text on background5.44:1AA pass 4.5:1
Label on primary7.81:1AAA pass 4.5:1
Label on accent13.97:1AAA pass 4.5:1
Primary on background7.29:1AAA pass 3:1
Accent on background13.04:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.69:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.74:1AA pass 4.5:1
Label on accent6.64:1AA pass 4.5:1
Primary on background3.34:1AA Large pass 3:1
Accent on background6.64: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#0F0F0F (Text 1)#1A1A1A (Text 2)#2C2C2C (Text 3)#3F3F3F (Text 4)#525252 (Text 5)
#0F0F0FSame color1.10—1.37—1.82—2.45—
#1A1A1A1.10—Same color1.25—1.65—2.23—
#2C2C2C1.37—1.25—Same color1.33—1.79—
#3F3F3F1.82—1.65—1.33—Same color1.35—
#5252522.45—2.23—1.79—1.35—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0F0F0F#1A1A1A#2C2C2C#3F3F3F#525252

Variations

About Obsidian Gray

Nearly all of the color weight in Obsidian Gray sits in neutral, which makes it a balanced palette anchored by charcoal #2C2C2C. There is no real hue here; neutrals between #0F0F0F and #525252 do all the work with value contrast. All five colors stay in a narrow dark band (17% to 44% lightness, #0F0F0F to #525252), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #2C2C2C in the middle is a true gray. Text contrast reaches 17.9:1 in light mode and 7.7:1 in dark mode, with #525252 as primary and #2C2C2C as accent. With #525252 leading, good fits include documentation sites, architecture studios and minimal portfolios.

These colors are almost the same as Soot Shadow.

Obsidian Gray color palette: #0F0F0F, #1A1A1A, #2C2C2C, #3F3F3F, #525252
Share image for Obsidian Gray

Gradients in similar colors