#08237C 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 #08237C works with other colors. Named schemes with #08237C 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 #08237C 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 #08237C at work across the surfaces designers actually ship.
:root {
--color-base: #08237C;
--color-base-rgb: 8 35 124;
--color-base-oklch: oklch(31.2% 0.153 264.7);
--color-50: #F0F4FE;
--color-100: #D8E1FD;
--color-200: #B2C3FA;
--color-300: #7F99F0;
--color-400: #5072E2;
--color-500: #2D51C8;
--color-600: #2A4498;
--color-700: #24346B;
--color-800: #1B2546;
--color-900: #13182B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F0F4FE',
100: '#D8E1FD',
200: '#B2C3FA',
300: '#7F99F0',
400: '#5072E2',
500: '#2D51C8',
600: '#2A4498',
700: '#24346B',
800: '#1B2546',
900: '#13182B',
},
}
$base: #08237C; $base-ink: #FFFFFF; $base-50: #F0F4FE; $base-100: #D8E1FD; $base-200: #B2C3FA; $base-300: #7F99F0; $base-400: #5072E2; $base-500: #2D51C8; $base-600: #2A4498; $base-700: #24346B; $base-800: #1B2546; $base-900: #13182B; $base-hover: #061C64; $base-subtle: #A1B2EC;
{
"color": {
"base": {
"value": "#08237C",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F4FE",
"type": "color"
},
"100": {
"value": "#D8E1FD",
"type": "color"
},
"200": {
"value": "#B2C3FA",
"type": "color"
},
"300": {
"value": "#7F99F0",
"type": "color"
},
"400": {
"value": "#5072E2",
"type": "color"
},
"500": {
"value": "#2D51C8",
"type": "color"
},
"600": {
"value": "#2A4498",
"type": "color"
},
"700": {
"value": "#24346B",
"type": "color"
},
"800": {
"value": "#1B2546",
"type": "color"
},
"900": {
"value": "#13182B",
"type": "color"
}
}
}
}