#5274DB 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 #5274DB works with other colors. Named schemes with #5274DB 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 #5274DB 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 #5274DB at work across the surfaces designers actually ship.
:root {
--color-base: #5274DB;
--color-base-rgb: 82 116 219;
--color-base-oklch: oklch(58.6% 0.162 267.5);
--color-50: #F2F5FD;
--color-100: #DCE3F9;
--color-200: #BBC9F1;
--color-300: #8DA2E2;
--color-400: #627ED0;
--color-500: #405DB5;
--color-600: #384C8A;
--color-700: #2D3A62;
--color-800: #212940;
--color-900: #161A28;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
royal-blue: {
50: '#F2F5FD',
100: '#DCE3F9',
200: '#BBC9F1',
300: '#8DA2E2',
400: '#627ED0',
500: '#405DB5',
600: '#384C8A',
700: '#2D3A62',
800: '#212940',
900: '#161A28',
},
}
$base: #5274DB; $base-ink: #141310; $base-50: #F2F5FD; $base-100: #DCE3F9; $base-200: #BBC9F1; $base-300: #8DA2E2; $base-400: #627ED0; $base-500: #405DB5; $base-600: #384C8A; $base-700: #2D3A62; $base-800: #212940; $base-900: #161A28; $base-hover: #2951C8; $base-subtle: #D0D8EF;
{
"color": {
"base": {
"value": "#5274DB",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F5FD",
"type": "color"
},
"100": {
"value": "#DCE3F9",
"type": "color"
},
"200": {
"value": "#BBC9F1",
"type": "color"
},
"300": {
"value": "#8DA2E2",
"type": "color"
},
"400": {
"value": "#627ED0",
"type": "color"
},
"500": {
"value": "#405DB5",
"type": "color"
},
"600": {
"value": "#384C8A",
"type": "color"
},
"700": {
"value": "#2D3A62",
"type": "color"
},
"800": {
"value": "#212940",
"type": "color"
},
"900": {
"value": "#161A28",
"type": "color"
}
}
}
}