#2A2871 is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It reproduces cleanly in print.
Not just a swatch — here's how #2A2871 works with other colors. Named schemes with #2A2871 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 #2A2871 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 #2A2871 at work across the surfaces designers actually ship.
:root {
--color-base: #2A2871;
--color-base-rgb: 42 40 113;
--color-base-oklch: oklch(32.8% 0.122 278.5);
--color-50: #F4F3FB;
--color-100: #E1E0F5;
--color-200: #C4C3EA;
--color-300: #9B99D7;
--color-400: #7471C1;
--color-500: #5350A5;
--color-600: #45437F;
--color-700: #35345B;
--color-800: #26253C;
--color-900: #191825;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F4F3FB',
100: '#E1E0F5',
200: '#C4C3EA',
300: '#9B99D7',
400: '#7471C1',
500: '#5350A5',
600: '#45437F',
700: '#35345B',
800: '#26253C',
900: '#191825',
},
}
$base: #2A2871; $base-ink: #FFFFFF; $base-50: #F4F3FB; $base-100: #E1E0F5; $base-200: #C4C3EA; $base-300: #9B99D7; $base-400: #7471C1; $base-500: #5350A5; $base-600: #45437F; $base-700: #35345B; $base-800: #26253C; $base-900: #191825; $base-hover: #22205B; $base-subtle: #B7B6DD;
{
"color": {
"base": {
"value": "#2A2871",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F4F3FB",
"type": "color"
},
"100": {
"value": "#E1E0F5",
"type": "color"
},
"200": {
"value": "#C4C3EA",
"type": "color"
},
"300": {
"value": "#9B99D7",
"type": "color"
},
"400": {
"value": "#7471C1",
"type": "color"
},
"500": {
"value": "#5350A5",
"type": "color"
},
"600": {
"value": "#45437F",
"type": "color"
},
"700": {
"value": "#35345B",
"type": "color"
},
"800": {
"value": "#26253C",
"type": "color"
},
"900": {
"value": "#191825",
"type": "color"
}
}
}
}