#20087F 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 #20087F works with other colors. Named schemes with #20087F in its natural role, and a note on why the supporting colors balance it.
Midnight 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.
Midnight 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 Midnight Blue.
Midnight Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Midnight 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.
Midnight 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 Midnight Blue carrying the quiet middle.
How #20087F 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 #20087F at work across the surfaces designers actually ship.
:root {
--color-base: #20087F;
--color-base-rgb: 32 8 127;
--color-base-oklch: oklch(29.3% 0.173 276.1);
--color-50: #F3F0FE;
--color-100: #DFD8FD;
--color-200: #C1B2FA;
--color-300: #967FF0;
--color-400: #6D50E2;
--color-500: #4C2DC8;
--color-600: #402A98;
--color-700: #32246B;
--color-800: #241B46;
--color-900: #17132B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F3F0FE',
100: '#DFD8FD',
200: '#C1B2FA',
300: '#967FF0',
400: '#6D50E2',
500: '#4C2DC8',
600: '#402A98',
700: '#32246B',
800: '#241B46',
900: '#17132B',
},
}
$base: #20087F; $base-ink: #FFFFFF; $base-50: #F3F0FE; $base-100: #DFD8FD; $base-200: #C1B2FA; $base-300: #967FF0; $base-400: #6D50E2; $base-500: #4C2DC8; $base-600: #402A98; $base-700: #32246B; $base-800: #241B46; $base-900: #17132B; $base-hover: #190664; $base-subtle: #B0A1EC;
{
"color": {
"base": {
"value": "#20087F",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F0FE",
"type": "color"
},
"100": {
"value": "#DFD8FD",
"type": "color"
},
"200": {
"value": "#C1B2FA",
"type": "color"
},
"300": {
"value": "#967FF0",
"type": "color"
},
"400": {
"value": "#6D50E2",
"type": "color"
},
"500": {
"value": "#4C2DC8",
"type": "color"
},
"600": {
"value": "#402A98",
"type": "color"
},
"700": {
"value": "#32246B",
"type": "color"
},
"800": {
"value": "#241B46",
"type": "color"
},
"900": {
"value": "#17132B",
"type": "color"
}
}
}
}