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

Black & Black, Gray Color Palette

#1F0B21 31, 11, 33
#5D6F71 93, 111, 113
#0A0A0D 10, 10, 13
#0A0A26 10, 10, 38
#1F0B21
Color 1
#5D6F71
Color 2
#0A0A0D
Color 3
#0A0A26
Color 4
:root {
  --color-1: #1F0B21;
  --color-2: #5D6F71;
  --color-3: #0A0A0D;
  --color-4: #0A0A26;
}
colors: {
  'palette-1': '#1F0B21',
  'palette-2': '#5D6F71',
  'palette-3': '#0A0A0D',
  'palette-4': '#0A0A26',
}
const palette = [
  '#1F0B21',
  '#5D6F71',
  '#0A0A0D',
  '#0A0A26',
];
$color-1: #1F0B21;
$color-2: #5D6F71;
$color-3: #0A0A0D;
$color-4: #0A0A26;
Palette Codes 4 COLORS

This is a cool, balanced 4-colour palette with a comfortable balance of contrast and harmony.

3,630 Views
Added Jun 2026
Copy & Download

About this color palette

This is a cool, balanced 4-colour palette with a comfortable balance of contrast and harmony. It is anchored by Black (#0A0A26) and reads as deep and moody, with an average saturation of 33% and lightness of 16%. It works well for calm, professional and modern interfaces.

The colors in this palette

Black #1F0B21

rgb(31, 11, 33) · hsl(295, 50%, 9%)

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

Gray #5D6F71

rgb(93, 111, 113) · hsl(186, 10%, 40%)

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

Black #0A0A0D

rgb(10, 10, 13) · hsl(240, 13%, 5%)

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

Black #0A0A26

rgb(10, 10, 38) · hsl(240, 58%, 9%)

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
#5D6F71 #0A0A0D 3.74:1 Fail Fail
#5D6F71 #0A0A26 3.67:1 Fail Fail
#1F0B21 #5D6F71 3.53:1 Fail Fail
#1F0B21 #0A0A0D 1.06:1 Fail Fail
#1F0B21 #0A0A26 1.04:1 Fail Fail
#0A0A0D #0A0A26 1.02:1 Fail Fail

How to use these colors

  • Background — Gray (#5D6F71): the lightest tone — a clean base for large areas
  • Text — Black (#0A0A0D): the darkest tone — readable for body copy and headings
  • Primary — Black (#0A0A26): the most saturated tone — buttons, links and key UI
  • Accent — Black (#1F0B21): 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 (#1F0B21), Gray (#5D6F71), Black (#0A0A0D) and Black (#0A0A26).

Is this a warm or cool colour palette?

It is a cool palette — its tones lean toward blues, greens and purples, which feel calm and modern.

What are the hex codes for this palette?

The hex codes are #1F0B21, #5D6F71, #0A0A0D and #0A0A26. 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!