Nearest named color: Egyptian Blue
#172EA5
#172EA5
Nearest named
Egyptian Blue
Family
Blue
Lightness
38.0%
Chroma
0.190
Hue angle
266.8°
Temperature
Cool
Contrast on white
10.66:1 · AAA
Contrast on black
1.74:1 · Fail
Web-safe
#003399
CSS oklch()
38% 0.19 267

#172EA5 is a deep, 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.

Palettes built on #172EA5

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

Tech Product Signal · 5 colors

Egyptian 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 Egyptian Blue.

Coastal Morning Lead · 5 colors

Egyptian 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

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

Minimal Editorial Surface · 5 colors

Egyptian 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 Egyptian Blue carrying the quiet middle.

Sunset Warmth Glow · 5 colors

Egyptian 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 #172EA5 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 10/100
Cool
Reads cool and recessive — calming, technical, good for trust-led UI.
Softness 26/100
Low
Firm and assertive — carries weight and contrast.
Depth 66/100
High
Deep and grounding — anchors a layout, strong dark-mode base.
Naturalness 0/100
Very low
Reads engineered rather than organic — synthetic, digital.
Vintage feel 22/100
Low
Clean and current — no dusty, aged cast.
Luxury 62/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 73/100
High
Bold and ownable — memorable as a primary brand color.
UI accent fit 61/100
High
Strong interactive accent — visible and can carry a legible label.
Surface fit 15/100
Very low
Too saturated or mid-toned for big areas — keep it to accents.
Print safety 66/100
High
Prints close, with a slight loss of vibrancy.

Pairs with #172EA5

For UI
For branding
For interior
For fashion
People also use #172EA5 with

UI roles & guardrails

Primary action Safe as a filled button with white label. AAA
Body text Passes on white at 16px and above. Pass
Large display Fine for headings 24px+ on white. Pass
Background Pair with white text at 10.7:1. Use
Subtle surface Use #CDD3F0 for cards and hover fills. Tint 80
Avoid beside #2F17A6 — 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 #172EA5 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: #172EA5;
  --color-base-rgb: 23 46 165;
  --color-base-oklch: oklch(38.0% 0.190 266.8);
  --color-50: #F1F3FE;
  --color-100: #DAE0FB;
  --color-200: #B7C2F5;
  --color-300: #8797E9;
  --color-400: #5A6FD8;
  --color-500: #374EBD;
  --color-600: #324190;
  --color-700: #293366;
  --color-800: #1E2443;
  --color-900: #141829;
  --color-on-base: #FFFFFF;
}