#04048E is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It sits well as a supporting tone.
Not just a swatch — here's how #04048E works with other colors. Named schemes with #04048E in its natural role, and a note on why the supporting colors balance it.
Dark 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.
Dark Blue is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Dark Blue.
Dark 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 Dark Blue.
Dark Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Dark 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 Dark Blue carrying the quiet middle.
How #04048E 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 #04048E at work across the surfaces designers actually ship.
:root {
--color-base: #04048E;
--color-base-rgb: 4 4 142;
--color-base-oklch: oklch(29.7% 0.199 265.1);
--color-50: #F0F0FE;
--color-100: #D8D8FD;
--color-200: #B1B1FC;
--color-300: #7A7AF5;
--color-400: #4A4AE8;
--color-500: #2727CE;
--color-600: #26269C;
--color-700: #21216E;
--color-800: #1A1A47;
--color-900: #12122B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
dark-blue: {
50: '#F0F0FE',
100: '#D8D8FD',
200: '#B1B1FC',
300: '#7A7AF5',
400: '#4A4AE8',
500: '#2727CE',
600: '#26269C',
700: '#21216E',
800: '#1A1A47',
900: '#12122B',
},
}
$base: #04048E; $base-ink: #FFFFFF; $base-50: #F0F0FE; $base-100: #D8D8FD; $base-200: #B1B1FC; $base-300: #7A7AF5; $base-400: #4A4AE8; $base-500: #2727CE; $base-600: #26269C; $base-700: #21216E; $base-800: #1A1A47; $base-900: #12122B; $base-hover: #030373; $base-subtle: #A1A1F0;
{
"color": {
"base": {
"value": "#04048E",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F0FE",
"type": "color"
},
"100": {
"value": "#D8D8FD",
"type": "color"
},
"200": {
"value": "#B1B1FC",
"type": "color"
},
"300": {
"value": "#7A7AF5",
"type": "color"
},
"400": {
"value": "#4A4AE8",
"type": "color"
},
"500": {
"value": "#2727CE",
"type": "color"
},
"600": {
"value": "#26269C",
"type": "color"
},
"700": {
"value": "#21216E",
"type": "color"
},
"800": {
"value": "#1A1A47",
"type": "color"
},
"900": {
"value": "#12122B",
"type": "color"
}
}
}
}