Black & Gray, Charcoal Color Palette — PaletteCSS
Back to palettes

Black & Gray, Charcoal Color Palette

#1F0A11 31, 10, 17
#5B5864 91, 88, 100
#3F363E 63, 54, 62
#202944 32, 41, 68
#1F0A11
Color 1
#5B5864
Color 2
#3F363E
Color 3
#202944
Color 4
:root {
  --color-1: #1F0A11;
  --color-2: #5B5864;
  --color-3: #3F363E;
  --color-4: #202944;
}
colors: {
  'palette-1': '#1F0A11',
  'palette-2': '#5B5864',
  'palette-3': '#3F363E',
  'palette-4': '#202944',
}
const palette = [
  '#1F0A11',
  '#5B5864',
  '#3F363E',
  '#202944',
];
$color-1: #1F0A11;
$color-2: #5B5864;
$color-3: #3F363E;
$color-4: #202944;
Palette Codes 4 COLORS

This is a balanced, subtle 4-colour palette whose tones sit close together for a smooth, cohesive feel.

2,990 Views
Added Jun 2026
Copy & Download

About this color palette

This is a balanced, subtle 4-colour palette whose tones sit close together for a smooth, cohesive feel. It is anchored by Black (#1F0A11) and reads as deep and moody, with an average saturation of 25% and lightness of 22%. It adapts to a wide range of web and brand projects.

The colors in this palette

Black #1F0A11

rgb(31, 10, 17) · hsl(340, 51%, 8%)

A deep, low-lightness tone — strong for text, headings and bold accents.

Gray #5B5864

rgb(91, 88, 100) · hsl(255, 6%, 37%)

A soft, muted tone that suits calm backgrounds and large surfaces.

Charcoal #3F363E

rgb(63, 54, 62) · hsl(307, 8%, 23%)

A deep, low-lightness tone — strong for text, headings and bold accents.

Dark Blue #202944

rgb(32, 41, 68) · hsl(225, 36%, 20%)

A deep, low-lightness tone — strong for text, headings and bold accents.

Accessibility & contrast

Colour contrast decides whether text stays readable. Here is how each pair of colours in this palette performs when one is used as text on the other, measured against the WCAG standard (AA needs 4.5:1, AAA needs 7:1).

TextBackgroundRatioAAAAA
#1F0A11 #5B5864 2.73:1 Fail Fail
#5B5864 #202944 2.07:1 Fail Fail
#5B5864 #3F363E 1.67:1 Fail Fail
#1F0A11 #3F363E 1.63:1 Fail Fail
#1F0A11 #202944 1.32:1 Fail Fail
#3F363E #202944 1.24:1 Fail Fail

How to use these colors

  • Background — Gray (#5B5864): the lightest tone — a clean base for large areas
  • Text — Black (#1F0A11): the darkest tone — readable for body copy and headings
  • Primary — Black (#1F0A11): the most saturated tone — buttons, links and key UI
  • Accent — Dark Blue (#202944): a secondary highlight for badges and details

Colors that pair with this palette

Want to extend this palette? These colours pair naturally with its dominant Black tone, based on colour-wheel harmony. Tap a swatch to explore that colour family.

Frequently asked questions

What colours are in this palette?

This palette has 4 colours: Black (#1F0A11), Gray (#5B5864), Charcoal (#3F363E) and Dark Blue (#202944).

Is this a warm or cool colour palette?

It is balanced, mixing warm and cool tones fairly evenly.

What are the hex codes for this palette?

The hex codes are #1F0A11, #5B5864, #3F363E and #202944. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.

Is this palette accessible for text?

The colours are fairly close in contrast, so pair them carefully for text — put a very light or very dark colour behind body text, and check the contrast table above.

Related Palettes

Copied!