#040F6E 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 sits well as a supporting tone.
Not just a swatch — here's how #040F6E works with other colors. Named schemes with #040F6E in its natural role, and a note on why the supporting colors balance it.
Navy Blue 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 Blue 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 Blue.
Navy Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Navy Blue 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 Blue 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 Blue carrying the quiet middle.
How #040F6E 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 #040F6E at work across the surfaces designers actually ship.
:root {
--color-base: #040F6E;
--color-base-rgb: 4 15 110;
--color-base-oklch: oklch(26.1% 0.156 265.6);
--color-50: #F0F2FE;
--color-100: #D8DCFD;
--color-200: #B1B8FC;
--color-300: #7C88F4;
--color-400: #4C5BE6;
--color-500: #2939CC;
--color-600: #27339B;
--color-700: #22296D;
--color-800: #1A1F47;
--color-900: #12152B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy-blue: {
50: '#F0F2FE',
100: '#D8DCFD',
200: '#B1B8FC',
300: '#7C88F4',
400: '#4C5BE6',
500: '#2939CC',
600: '#27339B',
700: '#22296D',
800: '#1A1F47',
900: '#12152B',
},
}
$base: #040F6E; $base-ink: #FFFFFF; $base-50: #F0F2FE; $base-100: #D8DCFD; $base-200: #B1B8FC; $base-300: #7C88F4; $base-400: #4C5BE6; $base-500: #2939CC; $base-600: #27339B; $base-700: #22296D; $base-800: #1A1F47; $base-900: #12152B; $base-hover: #030B57; $base-subtle: #99A2EE;
{
"color": {
"base": {
"value": "#040F6E",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F2FE",
"type": "color"
},
"100": {
"value": "#D8DCFD",
"type": "color"
},
"200": {
"value": "#B1B8FC",
"type": "color"
},
"300": {
"value": "#7C88F4",
"type": "color"
},
"400": {
"value": "#4C5BE6",
"type": "color"
},
"500": {
"value": "#2939CC",
"type": "color"
},
"600": {
"value": "#27339B",
"type": "color"
},
"700": {
"value": "#22296D",
"type": "color"
},
"800": {
"value": "#1A1F47",
"type": "color"
},
"900": {
"value": "#12152B",
"type": "color"
}
}
}
}