#313D40 is a mid neutral with only a whisper of temperate cast. On the Color Lab it reads clean and engineered, quietly premium. It reproduces cleanly in print.
Not just a swatch — here's how #313D40 works with other colors. Named schemes with #313D40 in its natural role, and a note on why the supporting colors balance it.
Onyx is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Onyx.
Onyx plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Onyx 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.
Onyx opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Onyx 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 Onyx carrying the quiet middle.
How #313D40 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 #313D40 at work across the surfaces designers actually ship.
:root {
--color-base: #313D40;
--color-base-rgb: 49 61 64;
--color-base-oklch: oklch(35.0% 0.017 214.6);
--color-50: #F6F8F8;
--color-100: #E8ECED;
--color-200: #D1D9DB;
--color-300: #AFBDC0;
--color-400: #8E9FA4;
--color-500: #6F8186;
--color-600: #596669;
--color-700: #424B4D;
--color-800: #2D3234;
--color-900: #1D2020;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
onyx: {
50: '#F6F8F8',
100: '#E8ECED',
200: '#D1D9DB',
300: '#AFBDC0',
400: '#8E9FA4',
500: '#6F8186',
600: '#596669',
700: '#424B4D',
800: '#2D3234',
900: '#1D2020',
},
}
$base: #313D40; $base-ink: #FFFFFF; $base-50: #F6F8F8; $base-100: #E8ECED; $base-200: #D1D9DB; $base-300: #AFBDC0; $base-400: #8E9FA4; $base-500: #6F8186; $base-600: #596669; $base-700: #424B4D; $base-800: #2D3234; $base-900: #1D2020; $base-hover: #273033; $base-subtle: #BDC7C9;
{
"color": {
"base": {
"value": "#313D40",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F6F8F8",
"type": "color"
},
"100": {
"value": "#E8ECED",
"type": "color"
},
"200": {
"value": "#D1D9DB",
"type": "color"
},
"300": {
"value": "#AFBDC0",
"type": "color"
},
"400": {
"value": "#8E9FA4",
"type": "color"
},
"500": {
"value": "#6F8186",
"type": "color"
},
"600": {
"value": "#596669",
"type": "color"
},
"700": {
"value": "#424B4D",
"type": "color"
},
"800": {
"value": "#2D3234",
"type": "color"
},
"900": {
"value": "#1D2020",
"type": "color"
}
}
}
}