#303E40 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 #303E40 works with other colors. Named schemes with #303E40 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 #303E40 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 #303E40 at work across the surfaces designers actually ship.
:root {
--color-base: #303E40;
--color-base-rgb: 48 62 64;
--color-base-oklch: oklch(35.2% 0.019 207.0);
--color-50: #F6F8F9;
--color-100: #E8EDEE;
--color-200: #D1DADC;
--color-300: #AFBEC1;
--color-400: #8DA1A5;
--color-500: #6E8387;
--color-600: #58676A;
--color-700: #424C4D;
--color-800: #2D3334;
--color-900: #1D2020;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
onyx: {
50: '#F6F8F9',
100: '#E8EDEE',
200: '#D1DADC',
300: '#AFBEC1',
400: '#8DA1A5',
500: '#6E8387',
600: '#58676A',
700: '#424C4D',
800: '#2D3334',
900: '#1D2020',
},
}
$base: #303E40; $base-ink: #FFFFFF; $base-50: #F6F8F9; $base-100: #E8EDEE; $base-200: #D1DADC; $base-300: #AFBEC1; $base-400: #8DA1A5; $base-500: #6E8387; $base-600: #58676A; $base-700: #424C4D; $base-800: #2D3334; $base-900: #1D2020; $base-hover: #273133; $base-subtle: #BDC8CA;
{
"color": {
"base": {
"value": "#303E40",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F6F8F9",
"type": "color"
},
"100": {
"value": "#E8EDEE",
"type": "color"
},
"200": {
"value": "#D1DADC",
"type": "color"
},
"300": {
"value": "#AFBEC1",
"type": "color"
},
"400": {
"value": "#8DA1A5",
"type": "color"
},
"500": {
"value": "#6E8387",
"type": "color"
},
"600": {
"value": "#58676A",
"type": "color"
},
"700": {
"value": "#424C4D",
"type": "color"
},
"800": {
"value": "#2D3334",
"type": "color"
},
"900": {
"value": "#1D2020",
"type": "color"
}
}
}
}