#313A42 is a mid neutral with only a whisper of temperate cast. On the Color Lab it reads clean and engineered, quietly premium. It is too muted to lead as a primary accent and reproduces cleanly in print.
Not just a swatch — here's how #313A42 works with other colors. Named schemes with #313A42 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 #313A42 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 #313A42 at work across the surfaces designers actually ship.
:root {
--color-base: #313A42;
--color-base-rgb: 49 58 66;
--color-base-oklch: oklch(34.3% 0.019 245.2);
--color-50: #F6F7F9;
--color-100: #E7EBEE;
--color-200: #D0D7DC;
--color-300: #AEB8C1;
--color-400: #8D9AA5;
--color-500: #6D7B88;
--color-600: #58626A;
--color-700: #41484D;
--color-800: #2D3134;
--color-900: #1D1F21;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
onyx: {
50: '#F6F7F9',
100: '#E7EBEE',
200: '#D0D7DC',
300: '#AEB8C1',
400: '#8D9AA5',
500: '#6D7B88',
600: '#58626A',
700: '#41484D',
800: '#2D3134',
900: '#1D1F21',
},
}
$base: #313A42; $base-ink: #FFFFFF; $base-50: #F6F7F9; $base-100: #E7EBEE; $base-200: #D0D7DC; $base-300: #AEB8C1; $base-400: #8D9AA5; $base-500: #6D7B88; $base-600: #58626A; $base-700: #41484D; $base-800: #2D3134; $base-900: #1D1F21; $base-hover: #282F36; $base-subtle: #BDC5CB;
{
"color": {
"base": {
"value": "#313A42",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F6F7F9",
"type": "color"
},
"100": {
"value": "#E7EBEE",
"type": "color"
},
"200": {
"value": "#D0D7DC",
"type": "color"
},
"300": {
"value": "#AEB8C1",
"type": "color"
},
"400": {
"value": "#8D9AA5",
"type": "color"
},
"500": {
"value": "#6D7B88",
"type": "color"
},
"600": {
"value": "#58626A",
"type": "color"
},
"700": {
"value": "#41484D",
"type": "color"
},
"800": {
"value": "#2D3134",
"type": "color"
},
"900": {
"value": "#1D1F21",
"type": "color"
}
}
}
}