#040F35 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 #040F35 works with other colors. Named schemes with #040F35 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 #040F35 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 #040F35 at work across the surfaces designers actually ship.
:root {
--color-base: #040F35;
--color-base-rgb: 4 15 53;
--color-base-oklch: oklch(18.9% 0.077 265.3);
--color-50: #F0F3FE;
--color-100: #D8E0FD;
--color-200: #B3C2F9;
--color-300: #8098EF;
--color-400: #5271E0;
--color-500: #2F4FC6;
--color-600: #2B4396;
--color-700: #25346A;
--color-800: #1C2545;
--color-900: #13182A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy: {
50: '#F0F3FE',
100: '#D8E0FD',
200: '#B3C2F9',
300: '#8098EF',
400: '#5271E0',
500: '#2F4FC6',
600: '#2B4396',
700: '#25346A',
800: '#1C2545',
900: '#13182A',
},
}
$base: #040F35; $base-ink: #FFFFFF; $base-50: #F0F3FE; $base-100: #D8E0FD; $base-200: #B3C2F9; $base-300: #8098EF; $base-400: #5271E0; $base-500: #2F4FC6; $base-600: #2B4396; $base-700: #25346A; $base-800: #1C2545; $base-900: #13182A; $base-hover: #030C2A; $base-subtle: #8EA2E7;
{
"color": {
"base": {
"value": "#040F35",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F3FE",
"type": "color"
},
"100": {
"value": "#D8E0FD",
"type": "color"
},
"200": {
"value": "#B3C2F9",
"type": "color"
},
"300": {
"value": "#8098EF",
"type": "color"
},
"400": {
"value": "#5271E0",
"type": "color"
},
"500": {
"value": "#2F4FC6",
"type": "color"
},
"600": {
"value": "#2B4396",
"type": "color"
},
"700": {
"value": "#25346A",
"type": "color"
},
"800": {
"value": "#1C2545",
"type": "color"
},
"900": {
"value": "#13182A",
"type": "color"
}
}
}
}