#040248 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 #040248 works with other colors. Named schemes with #040248 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 #040248 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 #040248 at work across the surfaces designers actually ship.
:root {
--color-base: #040248;
--color-base-rgb: 4 2 72;
--color-base-oklch: oklch(18.9% 0.121 267.9);
--color-50: #F1F0FE;
--color-100: #D9D8FD;
--color-200: #B3B1FC;
--color-300: #7E7AF5;
--color-400: #504AE8;
--color-500: #2C27CE;
--color-600: #2A269C;
--color-700: #24216E;
--color-800: #1B1A47;
--color-900: #13122B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy: {
50: '#F1F0FE',
100: '#D9D8FD',
200: '#B3B1FC',
300: '#7E7AF5',
400: '#504AE8',
500: '#2C27CE',
600: '#2A269C',
700: '#24216E',
800: '#1B1A47',
900: '#13122B',
},
}
$base: #040248; $base-ink: #FFFFFF; $base-50: #F1F0FE; $base-100: #D9D8FD; $base-200: #B3B1FC; $base-300: #7E7AF5; $base-400: #504AE8; $base-500: #2C27CE; $base-600: #2A269C; $base-700: #24216E; $base-800: #1B1A47; $base-900: #13122B; $base-hover: #03023C; $base-subtle: #928FED;
{
"color": {
"base": {
"value": "#040248",
"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": "#7E7AF5",
"type": "color"
},
"400": {
"value": "#504AE8",
"type": "color"
},
"500": {
"value": "#2C27CE",
"type": "color"
},
"600": {
"value": "#2A269C",
"type": "color"
},
"700": {
"value": "#24216E",
"type": "color"
},
"800": {
"value": "#1B1A47",
"type": "color"
},
"900": {
"value": "#13122B",
"type": "color"
}
}
}
}