Export

Code

/* Charcoal Gray — colorset.net */
:root {
  --color-1: #2C3E50;
  --color-2: #34495E;
  --color-3: #5D6D7E;
  --color-4: #85929E;
  --color-5: #AEB6BF;

  --color-bg: #F4F7FA;
  --color-surface: #EBEEF1;
  --color-border: #D0D5DB;
  --color-text: #2C3E50;
  --color-muted: #596D81;
  --color-primary: #5D6D7E;
  --color-on-primary: #FFFFFF;
  --color-accent: #808890;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0A1016;
    --color-surface: #141A20;
    --color-border: #262F38;
    --color-text: #AEB6BF;
    --color-muted: #7C848C;
    --color-primary: #5D6D7E;
    --color-on-primary: #FFFFFF;
    --color-accent: #85929E;
    --color-on-accent: #0A1016;
  }
}

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 #AEB6BFadjusted for contrast · from #2C3E50
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #85929Efrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background10.22:1AAA pass 4.5:1
Text on surface9.43:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary5.31:1AA pass 4.5:1
Label on accent5.84:1AA pass 4.5:1
Primary on background4.94:1AA pass 3:1
Accent on background3.34:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background9.32:1AAA pass 4.5:1
Text on surface8.55:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary5.31:1AA pass 4.5:1
Label on accent6.01:1AA pass 4.5:1
Primary on background3.60:1AA Large pass 3:1
Accent on background6.01: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#2C3E50 (Text 1)#34495E (Text 2)#5D6D7E (Text 3)#85929E (Text 4)#AEB6BF (Text 5)
#2C3E50Same color1.18—2.07—3.45AA Large5.36AA
#34495E1.18—Same color1.75—2.92—4.53AA
#5D6D7E2.07—1.75—Same color1.67—2.59—
#85929E3.45AA Large2.92—1.67—Same color1.55—
#AEB6BF5.36AA4.53AA2.59—1.55—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2C3E50#34495E#5D6D7E#85929E#AEB6BF

Variations

About Charcoal Gray

Charcoal Gray brings together two dark blues, a slate and two grays (#2C3E50, #34495E, #5D6D7E, #85929E, #AEB6BF) in a balanced, blue-and-neutral-led scheme. All hues sit within 0° of each other, so dark blue #2C3E50 and its relatives form a cohesive monochromatic scheme. With lightness between 36% and 77% and #5D6D7E near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.031, very low for a palette, so the palette is close to grayscale; the most saturated color is #34495E. In light mode #F4F7FA becomes the background with #2C3E50 text at 10.2:1, and #5D6D7E takes the primary role. Try it for data visualization, illustration and brand systems with many sub-brands, letting slate #5D6D7E carry the key actions.

These colors are almost the same as Storm Surge.

Charcoal Gray color palette: #2C3E50, #34495E, #5D6D7E, #85929E, #AEB6BF
Share image for Charcoal Gray

Gradients in similar colors