#303FAC is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #303FAC works with other colors. Named schemes with #303FAC in its natural role, and a note on why the supporting colors balance it.
Cobalt Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Cobalt 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 Cobalt Blue.
Cobalt 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.
Cobalt Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Cobalt 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 Cobalt Blue carrying the quiet middle.
How #303FAC 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 #303FAC at work across the surfaces designers actually ship.
:root {
--color-base: #303FAC;
--color-base-rgb: 48 63 172;
--color-base-oklch: oklch(42.8% 0.173 271.0);
--color-50: #F3F4FC;
--color-100: #DFE1F7;
--color-200: #BFC5ED;
--color-300: #939CDC;
--color-400: #6B75C7;
--color-500: #4955AC;
--color-600: #3E4684;
--color-700: #31365E;
--color-800: #23263E;
--color-900: #171926;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F3F4FC',
100: '#DFE1F7',
200: '#BFC5ED',
300: '#939CDC',
400: '#6B75C7',
500: '#4955AC',
600: '#3E4684',
700: '#31365E',
800: '#23263E',
900: '#171926',
},
}
$base: #303FAC; $base-ink: #FFFFFF; $base-50: #F3F4FC; $base-100: #DFE1F7; $base-200: #BFC5ED; $base-300: #939CDC; $base-400: #6B75C7; $base-500: #4955AC; $base-600: #3E4684; $base-700: #31365E; $base-800: #23263E; $base-900: #171926; $base-hover: #273289; $base-subtle: #C1C5E6;
{
"color": {
"base": {
"value": "#303FAC",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F4FC",
"type": "color"
},
"100": {
"value": "#DFE1F7",
"type": "color"
},
"200": {
"value": "#BFC5ED",
"type": "color"
},
"300": {
"value": "#939CDC",
"type": "color"
},
"400": {
"value": "#6B75C7",
"type": "color"
},
"500": {
"value": "#4955AC",
"type": "color"
},
"600": {
"value": "#3E4684",
"type": "color"
},
"700": {
"value": "#31365E",
"type": "color"
},
"800": {
"value": "#23263E",
"type": "color"
},
"900": {
"value": "#171926",
"type": "color"
}
}
}
}