#040D33 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 #040D33 works with other colors. Named schemes with #040D33 in its natural role, and a note on why the supporting colors balance it.
Navy opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Navy keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
Navy is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Navy.
Navy plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Navy 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 Navy carrying the quiet middle.
How #040D33 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 #040D33 at work across the surfaces designers actually ship.
:root {
--color-base: #040D33;
--color-base-rgb: 4 13 51;
--color-base-oklch: oklch(18.2% 0.076 266.4);
--color-50: #F0F3FE;
--color-100: #D8DFFD;
--color-200: #B4C0F9;
--color-300: #8195EE;
--color-400: #536CDF;
--color-500: #304BC5;
--color-600: #2C3F96;
--color-700: #25326A;
--color-800: #1C2445;
--color-900: #13172A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy: {
50: '#F0F3FE',
100: '#D8DFFD',
200: '#B4C0F9',
300: '#8195EE',
400: '#536CDF',
500: '#304BC5',
600: '#2C3F96',
700: '#25326A',
800: '#1C2445',
900: '#13172A',
},
}
$base: #040D33; $base-ink: #FFFFFF; $base-50: #F0F3FE; $base-100: #D8DFFD; $base-200: #B4C0F9; $base-300: #8195EE; $base-400: #536CDF; $base-500: #304BC5; $base-600: #2C3F96; $base-700: #25326A; $base-800: #1C2445; $base-900: #13172A; $base-hover: #030A2A; $base-subtle: #8F9FE7;
{
"color": {
"base": {
"value": "#040D33",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F3FE",
"type": "color"
},
"100": {
"value": "#D8DFFD",
"type": "color"
},
"200": {
"value": "#B4C0F9",
"type": "color"
},
"300": {
"value": "#8195EE",
"type": "color"
},
"400": {
"value": "#536CDF",
"type": "color"
},
"500": {
"value": "#304BC5",
"type": "color"
},
"600": {
"value": "#2C3F96",
"type": "color"
},
"700": {
"value": "#25326A",
"type": "color"
},
"800": {
"value": "#1C2445",
"type": "color"
},
"900": {
"value": "#13172A",
"type": "color"
}
}
}
}