#040A3A 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 #040A3A works with other colors. Named schemes with #040A3A 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 #040A3A 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 #040A3A at work across the surfaces designers actually ship.
:root {
--color-base: #040A3A;
--color-base-rgb: 4 10 58;
--color-base-oklch: oklch(18.4% 0.092 267.7);
--color-50: #F0F2FE;
--color-100: #D8DCFD;
--color-200: #B3BBFA;
--color-300: #7F8DF0;
--color-400: #5162E1;
--color-500: #2E40C7;
--color-600: #2B3797;
--color-700: #242C6B;
--color-800: #1C2045;
--color-900: #13162A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy: {
50: '#F0F2FE',
100: '#D8DCFD',
200: '#B3BBFA',
300: '#7F8DF0',
400: '#5162E1',
500: '#2E40C7',
600: '#2B3797',
700: '#242C6B',
800: '#1C2045',
900: '#13162A',
},
}
$base: #040A3A; $base-ink: #FFFFFF; $base-50: #F0F2FE; $base-100: #D8DCFD; $base-200: #B3BBFA; $base-300: #7F8DF0; $base-400: #5162E1; $base-500: #2E40C7; $base-600: #2B3797; $base-700: #242C6B; $base-800: #1C2045; $base-900: #13162A; $base-hover: #03082E; $base-subtle: #8F9AE8;
{
"color": {
"base": {
"value": "#040A3A",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F2FE",
"type": "color"
},
"100": {
"value": "#D8DCFD",
"type": "color"
},
"200": {
"value": "#B3BBFA",
"type": "color"
},
"300": {
"value": "#7F8DF0",
"type": "color"
},
"400": {
"value": "#5162E1",
"type": "color"
},
"500": {
"value": "#2E40C7",
"type": "color"
},
"600": {
"value": "#2B3797",
"type": "color"
},
"700": {
"value": "#242C6B",
"type": "color"
},
"800": {
"value": "#1C2045",
"type": "color"
},
"900": {
"value": "#13162A",
"type": "color"
}
}
}
}