#172827 is a muted, temperate cyan. On the Color Lab it reads clean and engineered, quietly premium. It holds up as a large surface and is too dark to lead as a primary accent.
Not just a swatch — here's how #172827 works with other colors. Named schemes with #172827 in its natural role, and a note on why the supporting colors balance it.
Graphite plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Graphite sets a calm, sun-bleached base here, wrapped in bone and paper off-whites and a soft greige, with a single ink accent for wabi-sabi restraint.
Graphite carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.
Graphite adds the colour to this moody editorial scheme — charcoal and a mid-grey around it, a bone highlight, and a muted jewel accent drawn from Graphite.
Graphite is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Graphite carrying the quiet middle.
How #172827 actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #172827 at work across the surfaces designers actually ship.
:root {
--color-base: #172827;
--color-base-rgb: 23 40 39;
--color-base-oklch: oklch(26.2% 0.023 191.2);
--color-50: #F5FAF9;
--color-100: #E5F0F0;
--color-200: #CBE1E0;
--color-300: #A6C9C7;
--color-400: #83AFAC;
--color-500: #63928F;
--color-600: #50726F;
--color-700: #3D5251;
--color-800: #2A3736;
--color-900: #1B2222;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
graphite: {
50: '#F5FAF9',
100: '#E5F0F0',
200: '#CBE1E0',
300: '#A6C9C7',
400: '#83AFAC',
500: '#63928F',
600: '#50726F',
700: '#3D5251',
800: '#2A3736',
900: '#1B2222',
},
}
$base: #172827; $base-ink: #FFFFFF; $base-50: #F5FAF9; $base-100: #E5F0F0; $base-200: #CBE1E0; $base-300: #A6C9C7; $base-400: #83AFAC; $base-500: #63928F; $base-600: #50726F; $base-700: #3D5251; $base-800: #2A3736; $base-900: #1B2222; $base-hover: #121F1E; $base-subtle: #AEC9C8;
{
"color": {
"base": {
"value": "#172827",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5FAF9",
"type": "color"
},
"100": {
"value": "#E5F0F0",
"type": "color"
},
"200": {
"value": "#CBE1E0",
"type": "color"
},
"300": {
"value": "#A6C9C7",
"type": "color"
},
"400": {
"value": "#83AFAC",
"type": "color"
},
"500": {
"value": "#63928F",
"type": "color"
},
"600": {
"value": "#50726F",
"type": "color"
},
"700": {
"value": "#3D5251",
"type": "color"
},
"800": {
"value": "#2A3736",
"type": "color"
},
"900": {
"value": "#1B2222",
"type": "color"
}
}
}
}