#5151CB is a mid-toned, cool violet. On the Color Lab it reads clean and engineered. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #5151CB works with other colors. Named schemes with #5151CB in its natural role, and a note on why the supporting colors balance it.
Slate Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Slate 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.
Slate Blue anchors this café scheme as the warm mid-tone, lifted by latte cream and a muted sage accent and grounded by espresso brown and a warm charcoal.
Slate Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Slate 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 Slate Blue carrying the quiet middle.
How #5151CB 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 #5151CB at work across the surfaces designers actually ship.
:root {
--color-base: #5151CB;
--color-base-rgb: 81 81 203;
--color-base-oklch: oklch(50.7% 0.184 277.6);
--color-50: #F3F3FC;
--color-100: #DFDFF6;
--color-200: #C0C0EC;
--color-300: #9595DA;
--color-400: #6C6CC6;
--color-500: #4B4BAA;
--color-600: #3F3F83;
--color-700: #32325D;
--color-800: #23233D;
--color-900: #171726;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
slate-blue: {
50: '#F3F3FC',
100: '#DFDFF6',
200: '#C0C0EC',
300: '#9595DA',
400: '#6C6CC6',
500: '#4B4BAA',
600: '#3F3F83',
700: '#32325D',
800: '#23233D',
900: '#171726',
},
}
$base: #5151CB; $base-ink: #FFFFFF; $base-50: #F3F3FC; $base-100: #DFDFF6; $base-200: #C0C0EC; $base-300: #9595DA; $base-400: #6C6CC6; $base-500: #4B4BAA; $base-600: #3F3F83; $base-700: #32325D; $base-800: #23233D; $base-900: #171726; $base-hover: #3535B0; $base-subtle: #D0D0EB;
{
"color": {
"base": {
"value": "#5151CB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F3FC",
"type": "color"
},
"100": {
"value": "#DFDFF6",
"type": "color"
},
"200": {
"value": "#C0C0EC",
"type": "color"
},
"300": {
"value": "#9595DA",
"type": "color"
},
"400": {
"value": "#6C6CC6",
"type": "color"
},
"500": {
"value": "#4B4BAA",
"type": "color"
},
"600": {
"value": "#3F3F83",
"type": "color"
},
"700": {
"value": "#32325D",
"type": "color"
},
"800": {
"value": "#23233D",
"type": "color"
},
"900": {
"value": "#171726",
"type": "color"
}
}
}
}