#040C2E 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 #040C2E works with other colors. Named schemes with #040C2E 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 #040C2E 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 #040C2E at work across the surfaces designers actually ship.
:root {
--color-base: #040C2E;
--color-base-rgb: 4 12 46;
--color-base-oklch: oklch(17.4% 0.070 266.7);
--color-50: #F0F3FE;
--color-100: #D8DFFD;
--color-200: #B4C1F8;
--color-300: #8195EE;
--color-400: #536DDF;
--color-500: #304CC4;
--color-600: #2D4095;
--color-700: #253269;
--color-800: #1C2445;
--color-900: #13172A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
jet-black: {
50: '#F0F3FE',
100: '#D8DFFD',
200: '#B4C1F8',
300: '#8195EE',
400: '#536DDF',
500: '#304CC4',
600: '#2D4095',
700: '#253269',
800: '#1C2445',
900: '#13172A',
},
}
$base: #040C2E; $base-ink: #FFFFFF; $base-50: #F0F3FE; $base-100: #D8DFFD; $base-200: #B4C1F8; $base-300: #8195EE; $base-400: #536DDF; $base-500: #304CC4; $base-600: #2D4095; $base-700: #253269; $base-800: #1C2445; $base-900: #13172A; $base-hover: #030A26; $base-subtle: #8E9EE6;
{
"color": {
"base": {
"value": "#040C2E",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F3FE",
"type": "color"
},
"100": {
"value": "#D8DFFD",
"type": "color"
},
"200": {
"value": "#B4C1F8",
"type": "color"
},
"300": {
"value": "#8195EE",
"type": "color"
},
"400": {
"value": "#536DDF",
"type": "color"
},
"500": {
"value": "#304CC4",
"type": "color"
},
"600": {
"value": "#2D4095",
"type": "color"
},
"700": {
"value": "#253269",
"type": "color"
},
"800": {
"value": "#1C2445",
"type": "color"
},
"900": {
"value": "#13172A",
"type": "color"
}
}
}
}