#040240 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 #040240 works with other colors. Named schemes with #040240 in its natural role, and a note on why the supporting colors balance it.
Navy carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.
Navy adds the colour to this moody editorial scheme — charcoal and a mid-grey around it, a bone highlight, and a muted jewel accent drawn from Navy.
Navy opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
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 #040240 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 #040240 at work across the surfaces designers actually ship.
:root {
--color-base: #040240;
--color-base-rgb: 4 2 64;
--color-base-oklch: oklch(17.6% 0.111 268.8);
--color-50: #F1F0FE;
--color-100: #D9D8FD;
--color-200: #B3B1FC;
--color-300: #7F7BF4;
--color-400: #504BE7;
--color-500: #2D28CD;
--color-600: #2A269B;
--color-700: #24216D;
--color-800: #1B1A47;
--color-900: #13122B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy: {
50: '#F1F0FE',
100: '#D9D8FD',
200: '#B3B1FC',
300: '#7F7BF4',
400: '#504BE7',
500: '#2D28CD',
600: '#2A269B',
700: '#24216D',
800: '#1B1A47',
900: '#13122B',
},
}
$base: #040240; $base-ink: #FFFFFF; $base-50: #F1F0FE; $base-100: #D9D8FD; $base-200: #B3B1FC; $base-300: #7F7BF4; $base-400: #504BE7; $base-500: #2D28CD; $base-600: #2A269B; $base-700: #24216D; $base-800: #1B1A47; $base-900: #13122B; $base-hover: #030233; $base-subtle: #908DEC;
{
"color": {
"base": {
"value": "#040240",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F0FE",
"type": "color"
},
"100": {
"value": "#D9D8FD",
"type": "color"
},
"200": {
"value": "#B3B1FC",
"type": "color"
},
"300": {
"value": "#7F7BF4",
"type": "color"
},
"400": {
"value": "#504BE7",
"type": "color"
},
"500": {
"value": "#2D28CD",
"type": "color"
},
"600": {
"value": "#2A269B",
"type": "color"
},
"700": {
"value": "#24216D",
"type": "color"
},
"800": {
"value": "#1B1A47",
"type": "color"
},
"900": {
"value": "#13122B",
"type": "color"
}
}
}
}