#2F2A7E 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 #2F2A7E works with other colors. Named schemes with #2F2A7E 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 #2F2A7E 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 #2F2A7E at work across the surfaces designers actually ship.
:root {
--color-base: #2F2A7E;
--color-base-rgb: 47 42 126;
--color-base-oklch: oklch(34.7% 0.137 279.2);
--color-50: #F4F3FC;
--color-100: #E1E0F5;
--color-200: #C5C2EB;
--color-300: #9C97D8;
--color-400: #7570C2;
--color-500: #544EA6;
--color-600: #464280;
--color-700: #36335C;
--color-800: #26243C;
--color-900: #191825;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F4F3FC',
100: '#E1E0F5',
200: '#C5C2EB',
300: '#9C97D8',
400: '#7570C2',
500: '#544EA6',
600: '#464280',
700: '#36335C',
800: '#26243C',
900: '#191825',
},
}
$base: #2F2A7E; $base-ink: #FFFFFF; $base-50: #F4F3FC; $base-100: #E1E0F5; $base-200: #C5C2EB; $base-300: #9C97D8; $base-400: #7570C2; $base-500: #544EA6; $base-600: #464280; $base-700: #36335C; $base-800: #26243C; $base-900: #191825; $base-hover: #262265; $base-subtle: #BBB8DF;
{
"color": {
"base": {
"value": "#2F2A7E",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F4F3FC",
"type": "color"
},
"100": {
"value": "#E1E0F5",
"type": "color"
},
"200": {
"value": "#C5C2EB",
"type": "color"
},
"300": {
"value": "#9C97D8",
"type": "color"
},
"400": {
"value": "#7570C2",
"type": "color"
},
"500": {
"value": "#544EA6",
"type": "color"
},
"600": {
"value": "#464280",
"type": "color"
},
"700": {
"value": "#36335C",
"type": "color"
},
"800": {
"value": "#26243C",
"type": "color"
},
"900": {
"value": "#191825",
"type": "color"
}
}
}
}