#040F28 is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It is too dark to lead as a primary accent and reproduces cleanly in print.
Not just a swatch — here's how #040F28 works with other colors. Named schemes with #040F28 in its natural role, and a note on why the supporting colors balance it.
Jet Black opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Jet Black keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
Jet Black is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Jet Black.
Jet Black plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Jet Black 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 Jet Black carrying the quiet middle.
How #040F28 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 #040F28 at work across the surfaces designers actually ship.
:root {
--color-base: #040F28;
--color-base-rgb: 4 15 40;
--color-base-oklch: oklch(17.5% 0.054 262.2);
--color-50: #F0F5FE;
--color-100: #D9E4FC;
--color-200: #B5C9F8;
--color-300: #83A2ED;
--color-400: #557EDD;
--color-500: #325EC3;
--color-600: #2E4C94;
--color-700: #263A69;
--color-800: #1D2944;
--color-900: #141A2A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
jet-black: {
50: '#F0F5FE',
100: '#D9E4FC',
200: '#B5C9F8',
300: '#83A2ED',
400: '#557EDD',
500: '#325EC3',
600: '#2E4C94',
700: '#263A69',
800: '#1D2944',
900: '#141A2A',
},
}
$base: #040F28; $base-ink: #FFFFFF; $base-50: #F0F5FE; $base-100: #D9E4FC; $base-200: #B5C9F8; $base-300: #83A2ED; $base-400: #557EDD; $base-500: #325EC3; $base-600: #2E4C94; $base-700: #263A69; $base-800: #1D2944; $base-900: #141A2A; $base-hover: #030C21; $base-subtle: #8EA8E5;
{
"color": {
"base": {
"value": "#040F28",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F5FE",
"type": "color"
},
"100": {
"value": "#D9E4FC",
"type": "color"
},
"200": {
"value": "#B5C9F8",
"type": "color"
},
"300": {
"value": "#83A2ED",
"type": "color"
},
"400": {
"value": "#557EDD",
"type": "color"
},
"500": {
"value": "#325EC3",
"type": "color"
},
"600": {
"value": "#2E4C94",
"type": "color"
},
"700": {
"value": "#263A69",
"type": "color"
},
"800": {
"value": "#1D2944",
"type": "color"
},
"900": {
"value": "#141A2A",
"type": "color"
}
}
}
}