Dark Blue & Dark Green, Charcoal Color Palette — PaletteCSS
Back to palettes

Dark Blue & Dark Green, Charcoal Color Palette

#1B2F12 27, 47, 18
#5C5A54 92, 90, 84
#171022 23, 16, 34
#1C265D 28, 38, 93
#1B2F12
Color 1
#5C5A54
Color 2
#171022
Color 3
#1C265D
Color 4
:root {
  --color-1: #1B2F12;
  --color-2: #5C5A54;
  --color-3: #171022;
  --color-4: #1C265D;
}
colors: {
  'palette-1': '#1B2F12',
  'palette-2': '#5C5A54',
  'palette-3': '#171022',
  'palette-4': '#1C265D',
}
const palette = [
  '#1B2F12',
  '#5C5A54',
  '#171022',
  '#1C265D',
];
$color-1: #1B2F12;
$color-2: #5C5A54;
$color-3: #171022;
$color-4: #1C265D;
Palette Codes 4 COLORS

This is a cool, balanced 4-colour palette built from closely related tones that blend harmoniously.

8,048 Views
Added Jun 2026
Copy & Download

About this color palette

This is a cool, balanced 4-colour palette built from closely related tones that blend harmoniously. It is anchored by Dark Blue (#1C265D) and reads as deep and moody, with an average saturation of 35% and lightness of 20%. It works well for calm, professional and modern interfaces.

The colors in this palette

Dark Green #1B2F12

rgb(27, 47, 18) · hsl(101, 45%, 13%)

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

Charcoal #5C5A54

rgb(92, 90, 84) · hsl(45, 5%, 35%)

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

Black #171022

rgb(23, 16, 34) · hsl(263, 36%, 10%)

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

Dark Blue #1C265D

rgb(28, 38, 93) · hsl(231, 54%, 24%)

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
#5C5A54 #171022 2.69:1 Fail Fail
#1B2F12 #5C5A54 2.08:1 Fail Fail
#5C5A54 #1C265D 2.05:1 Fail Fail
#171022 #1C265D 1.31:1 Fail Fail
#1B2F12 #171022 1.29:1 Fail Fail
#1B2F12 #1C265D 1.02:1 Fail Fail

How to use these colors

  • Background — Charcoal (#5C5A54): the lightest tone — a clean base for large areas
  • Text — Black (#171022): the darkest tone — readable for body copy and headings
  • Primary — Dark Blue (#1C265D): the most saturated tone — buttons, links and key UI
  • Accent — Dark Green (#1B2F12): 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 Dark Blue 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: Dark Green (#1B2F12), Charcoal (#5C5A54), Black (#171022) and Dark Blue (#1C265D).

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 #1B2F12, #5C5A54, #171022 and #1C265D. 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!