#5873EB 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 #5873EB works with other colors. Named schemes with #5873EB in its natural role, and a note on why the supporting colors balance it.
Royal Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Royal Blue is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Royal Blue.
Royal 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.
Royal Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Royal 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 Royal Blue carrying the quiet middle.
How #5873EB 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 #5873EB at work across the surfaces designers actually ship.
:root {
--color-base: #5873EB;
--color-base-rgb: 88 115 235;
--color-base-oklch: oklch(59.8% 0.183 270.4);
--color-50: #F1F3FE;
--color-100: #DAE0FC;
--color-200: #B6C2F6;
--color-300: #8597EB;
--color-400: #5870DA;
--color-500: #354EC0;
--color-600: #304292;
--color-700: #283367;
--color-800: #1D2443;
--color-900: #141829;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
royal-blue: {
50: '#F1F3FE',
100: '#DAE0FC',
200: '#B6C2F6',
300: '#8597EB',
400: '#5870DA',
500: '#354EC0',
600: '#304292',
700: '#283367',
800: '#1D2443',
900: '#141829',
},
}
$base: #5873EB; $base-ink: #141310; $base-50: #F1F3FE; $base-100: #DAE0FC; $base-200: #B6C2F6; $base-300: #8597EB; $base-400: #5870DA; $base-500: #354EC0; $base-600: #304292; $base-700: #283367; $base-800: #1D2443; $base-900: #141829; $base-hover: #1D41E4; $base-subtle: #D2D8F4;
{
"color": {
"base": {
"value": "#5873EB",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F3FE",
"type": "color"
},
"100": {
"value": "#DAE0FC",
"type": "color"
},
"200": {
"value": "#B6C2F6",
"type": "color"
},
"300": {
"value": "#8597EB",
"type": "color"
},
"400": {
"value": "#5870DA",
"type": "color"
},
"500": {
"value": "#354EC0",
"type": "color"
},
"600": {
"value": "#304292",
"type": "color"
},
"700": {
"value": "#283367",
"type": "color"
},
"800": {
"value": "#1D2443",
"type": "color"
},
"900": {
"value": "#141829",
"type": "color"
}
}
}
}