#2B166B is a deep, cool purple. On the Color Lab it reads clean and engineered, quietly premium. It reproduces cleanly in print.
Not just a swatch — here's how #2B166B works with other colors. Named schemes with #2B166B 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 #2B166B 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 #2B166B at work across the surfaces designers actually ship.
:root {
--color-base: #2B166B;
--color-base-rgb: 43 22 107;
--color-base-oklch: oklch(29.3% 0.136 285.7);
--color-50: #F5F2FD;
--color-100: #E3DCF9;
--color-200: #C9BBF1;
--color-300: #A28DE2;
--color-400: #7E62D0;
--color-500: #5D40B5;
--color-600: #4C388A;
--color-700: #3A2D62;
--color-800: #292140;
--color-900: #1A1628;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F5F2FD',
100: '#E3DCF9',
200: '#C9BBF1',
300: '#A28DE2',
400: '#7E62D0',
500: '#5D40B5',
600: '#4C388A',
700: '#3A2D62',
800: '#292140',
900: '#1A1628',
},
}
$base: #2B166B; $base-ink: #FFFFFF; $base-50: #F5F2FD; $base-100: #E3DCF9; $base-200: #C9BBF1; $base-300: #A28DE2; $base-400: #7E62D0; $base-500: #5D40B5; $base-600: #4C388A; $base-700: #3A2D62; $base-800: #292140; $base-900: #1A1628; $base-hover: #221155; $base-subtle: #B7A9E2;
{
"color": {
"base": {
"value": "#2B166B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F2FD",
"type": "color"
},
"100": {
"value": "#E3DCF9",
"type": "color"
},
"200": {
"value": "#C9BBF1",
"type": "color"
},
"300": {
"value": "#A28DE2",
"type": "color"
},
"400": {
"value": "#7E62D0",
"type": "color"
},
"500": {
"value": "#5D40B5",
"type": "color"
},
"600": {
"value": "#4C388A",
"type": "color"
},
"700": {
"value": "#3A2D62",
"type": "color"
},
"800": {
"value": "#292140",
"type": "color"
},
"900": {
"value": "#1A1628",
"type": "color"
}
}
}
}