#2F157E is a deep, cool purple. 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 #2F157E works with other colors. Named schemes with #2F157E 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 #2F157E 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 #2F157E at work across the surfaces designers actually ship.
:root {
--color-base: #2F157E;
--color-base-rgb: 47 21 126;
--color-base-oklch: oklch(31.7% 0.160 283.7);
--color-50: #F4F1FD;
--color-100: #E3DBFA;
--color-200: #C8B9F3;
--color-300: #A18AE5;
--color-400: #7C5ED4;
--color-500: #5B3CB9;
--color-600: #4B358D;
--color-700: #392B64;
--color-800: #281F42;
--color-900: #1A1528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F4F1FD',
100: '#E3DBFA',
200: '#C8B9F3',
300: '#A18AE5',
400: '#7C5ED4',
500: '#5B3CB9',
600: '#4B358D',
700: '#392B64',
800: '#281F42',
900: '#1A1528',
},
}
$base: #2F157E; $base-ink: #FFFFFF; $base-50: #F4F1FD; $base-100: #E3DBFA; $base-200: #C8B9F3; $base-300: #A18AE5; $base-400: #7C5ED4; $base-500: #5B3CB9; $base-600: #4B358D; $base-700: #392B64; $base-800: #281F42; $base-900: #1A1528; $base-hover: #261165; $base-subtle: #BAABE6;
{
"color": {
"base": {
"value": "#2F157E",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F4F1FD",
"type": "color"
},
"100": {
"value": "#E3DBFA",
"type": "color"
},
"200": {
"value": "#C8B9F3",
"type": "color"
},
"300": {
"value": "#A18AE5",
"type": "color"
},
"400": {
"value": "#7C5ED4",
"type": "color"
},
"500": {
"value": "#5B3CB9",
"type": "color"
},
"600": {
"value": "#4B358D",
"type": "color"
},
"700": {
"value": "#392B64",
"type": "color"
},
"800": {
"value": "#281F42",
"type": "color"
},
"900": {
"value": "#1A1528",
"type": "color"
}
}
}
}