Dark Blue & Charcoal, Black Color Palette
:root {
--color-1: #292F31;
--color-2: #403A39;
--color-3: #0A0A0A;
--color-4: #0A1D35;
}
colors: {
'palette-1': '#292F31',
'palette-2': '#403A39',
'palette-3': '#0A0A0A',
'palette-4': '#0A1D35',
}
const palette = [
'#292F31',
'#403A39',
'#0A0A0A',
'#0A1D35',
];
$color-1: #292F31;
$color-2: #403A39;
$color-3: #0A0A0A;
$color-4: #0A1D35;
This is a cool, calm and understated 4-colour palette whose tones sit close together for a smooth, cohesive feel.
About this color palette
This is a cool, calm and understated 4-colour palette whose tones sit close together for a smooth, cohesive feel. It is anchored by Dark Blue (#0A1D35) and reads as deep and moody, with an average saturation of 21% and lightness of 14%. It works well for calm, professional and modern interfaces.
The colors in this palette
Charcoal #292F31
rgb(41, 47, 49) · hsl(195, 9%, 18%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Charcoal #403A39
rgb(64, 58, 57) · hsl(9, 6%, 24%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Black #0A0A0A
rgb(10, 10, 10) · hsl(0, 0%, 4%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Dark Blue #0A1D35
rgb(10, 29, 53) · hsl(213, 68%, 12%)
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).
| Text | Background | Ratio | AA | AAA |
|---|---|---|---|---|
| #403A39 | #0A0A0A | 1.77:1 | Fail | Fail |
| #403A39 | #0A1D35 | 1.52:1 | Fail | Fail |
| #292F31 | #0A0A0A | 1.46:1 | Fail | Fail |
| #292F31 | #0A1D35 | 1.25:1 | Fail | Fail |
| #292F31 | #403A39 | 1.22:1 | Fail | Fail |
| #0A0A0A | #0A1D35 | 1.17:1 | Fail | Fail |
How to use these colors
- Background — Charcoal (#403A39): the lightest tone — a clean base for large areas
- Text — Black (#0A0A0A): the darkest tone — readable for body copy and headings
- Primary — Dark Blue (#0A1D35): the most saturated tone — buttons, links and key UI
- Accent — Charcoal (#292F31): 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: Charcoal (#292F31), Charcoal (#403A39), Black (#0A0A0A) and Dark Blue (#0A1D35).
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 #292F31, #403A39, #0A0A0A and #0A1D35. 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.