#04027F 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 #04027F works with other colors. Named schemes with #04027F 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 #04027F 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 #04027F at work across the surfaces designers actually ship.
:root {
--color-base: #04027F;
--color-base-rgb: 4 2 127;
--color-base-oklch: oklch(27.3% 0.184 265.3);
--color-50: #F1F0FE;
--color-100: #D8D8FD;
--color-200: #B2B1FC;
--color-300: #7B79F6;
--color-400: #4B49E9;
--color-500: #2825D0;
--color-600: #27259D;
--color-700: #22206F;
--color-800: #1A1948;
--color-900: #12112C;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy-blue: {
50: '#F1F0FE',
100: '#D8D8FD',
200: '#B2B1FC',
300: '#7B79F6',
400: '#4B49E9',
500: '#2825D0',
600: '#27259D',
700: '#22206F',
800: '#1A1948',
900: '#12112C',
},
}
$base: #04027F; $base-ink: #FFFFFF; $base-50: #F1F0FE; $base-100: #D8D8FD; $base-200: #B2B1FC; $base-300: #7B79F6; $base-400: #4B49E9; $base-500: #2825D0; $base-600: #27259D; $base-700: #22206F; $base-800: #1A1948; $base-900: #12112C; $base-hover: #030264; $base-subtle: #9D9BF0;
{
"color": {
"base": {
"value": "#04027F",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F0FE",
"type": "color"
},
"100": {
"value": "#D8D8FD",
"type": "color"
},
"200": {
"value": "#B2B1FC",
"type": "color"
},
"300": {
"value": "#7B79F6",
"type": "color"
},
"400": {
"value": "#4B49E9",
"type": "color"
},
"500": {
"value": "#2825D0",
"type": "color"
},
"600": {
"value": "#27259D",
"type": "color"
},
"700": {
"value": "#22206F",
"type": "color"
},
"800": {
"value": "#1A1948",
"type": "color"
},
"900": {
"value": "#12112C",
"type": "color"
}
}
}
}