#4871EF is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #4871EF works with other colors. Named schemes with #4871EF in its natural role, and a note on why the supporting colors balance it.
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 opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
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.
Royal Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #4871EF 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 #4871EF at work across the surfaces designers actually ship.
:root {
--color-base: #4871EF;
--color-base-rgb: 72 113 239;
--color-base-oklch: oklch(58.9% 0.195 266.7);
--color-50: #F0F4FE;
--color-100: #D8E2FD;
--color-200: #B4C5F8;
--color-300: #819CEE;
--color-400: #5376DF;
--color-500: #3055C4;
--color-600: #2D4795;
--color-700: #253669;
--color-800: #1C2645;
--color-900: #13192A;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
royal-blue: {
50: '#F0F4FE',
100: '#D8E2FD',
200: '#B4C5F8',
300: '#819CEE',
400: '#5376DF',
500: '#3055C4',
600: '#2D4795',
700: '#253669',
800: '#1C2645',
900: '#13192A',
},
}
$base: #4871EF; $base-ink: #141310; $base-50: #F0F4FE; $base-100: #D8E2FD; $base-200: #B4C5F8; $base-300: #819CEE; $base-400: #5376DF; $base-500: #3055C4; $base-600: #2D4795; $base-700: #253669; $base-800: #1C2645; $base-900: #13192A; $base-hover: #1448E5; $base-subtle: #CED8F4;
{
"color": {
"base": {
"value": "#4871EF",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F4FE",
"type": "color"
},
"100": {
"value": "#D8E2FD",
"type": "color"
},
"200": {
"value": "#B4C5F8",
"type": "color"
},
"300": {
"value": "#819CEE",
"type": "color"
},
"400": {
"value": "#5376DF",
"type": "color"
},
"500": {
"value": "#3055C4",
"type": "color"
},
"600": {
"value": "#2D4795",
"type": "color"
},
"700": {
"value": "#253669",
"type": "color"
},
"800": {
"value": "#1C2645",
"type": "color"
},
"900": {
"value": "#13192A",
"type": "color"
}
}
}
}