Nearest named color: Royal Blue
#5170FA
#5170FA
Nearest named
Royal Blue
Family
Blue
Lightness
60.0%
Chroma
0.208
Hue angle
269.5°
Temperature
Cool
Contrast on white
4.16:1 · AA Large
Contrast on black
4.47:1 · AA Large
Web-safe
#6666FF
CSS oklch()
60% 0.21 270

#5170FA 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.

Palettes built on #5170FA

Not just a swatch — here's how #5170FA works with other colors. Named schemes with #5170FA in its natural role, and a note on why the supporting colors balance it.

Tech Product Signal · 5 colors

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.

Coastal Morning Lead · 5 colors

Royal Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.

Berry & Cream Lead · 5 colors

Royal Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.

Minimal Editorial Surface · 5 colors

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.

Sunset Warmth Glow · 5 colors

Royal Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.

Build a working theme in the generator →

Color Lab

How #5170FA 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.

Warmth 11/100
Cool
Reads cool and recessive — calming, technical, good for trust-led UI.
Softness 36/100
Low
Middle-weight — neither delicate nor heavy.
Depth 43/100
Moderate
Mid depth — usable as an accent or a muted ground.
Naturalness 0/100
Very low
Reads engineered rather than organic — synthetic, digital.
Vintage feel 21/100
Low
Clean and current — no dusty, aged cast.
Luxury 42/100
Moderate
Understated — leans refined without going austere.
Brand distinctiveness 80/100
Very high
Bold and ownable — memorable as a primary brand color.
UI accent fit 76/100
High
Strong interactive accent — visible and can carry a legible label.
Surface fit 17/100
Very low
Too saturated or mid-toned for big areas — keep it to accents.
Print safety 64/100
High
Prints close, with a slight loss of vibrancy.

Pairs with #5170FA

For UI
For branding
For interior
For fashion

UI roles & guardrails

Primary action Too mid-tone for a filled button — darken for the fill. AA Large
Body text Do not use for body copy on light surfaces. Avoid
Large display Fine for headings 24px+ on white. Pass
Background Pair with #141310 text at 4.5:1. Use
Subtle surface Use #E1E5F9 for cards and hover fills. Tint 80
Avoid beside #6B52FA — the hue gap is too small to read as intentional. Clash

In real applications

Not a swatch to memorise — a color to build with. Here is #5170FA at work across the surfaces designers actually ship.

Website / UI
Northwind Sign up
Build faster.
A working theme, generated in seconds.
Dashboard
Revenue
$48.2k ▲ 12%
Brand
AVELINE
Studio
Poster
Nov 14 · 8PM
NIGHT
MARKET
Packaging
BLOOM
Botanical Wash
250 ml
Interior

Scales

ShadesBase darkened in 10% steps
TintsBase lifted toward white
TonesSaturation removed, lightness held
Monochromatic scaleDesign-system ready, 50–900

Every model

Export

:root {
  --color-base: #5170FA;
  --color-base-rgb: 81 112 250;
  --color-base-oklch: oklch(60.0% 0.208 269.5);
  --color-50: #F0F3FE;
  --color-100: #D8DFFD;
  --color-200: #B1BEFC;
  --color-300: #7B91F4;
  --color-400: #4B68E7;
  --color-500: #2846CD;
  --color-600: #263C9B;
  --color-700: #212F6D;
  --color-800: #1A2247;
  --color-900: #12172B;
  --color-on-base: #141310;
}