Nearest named color: Navy Blue
#040265
#040265
Nearest named
Navy Blue
Family
Blue
Lightness
23.4%
Chroma
0.155
Hue angle
266.1°
Temperature
Cool
Contrast on white
17.47:1 · AAA
Contrast on black
1.06:1 · Fail
Web-safe
#000066
CSS oklch()
23% 0.16 266

#040265 is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It is too dark to lead as a primary accent and sits well as a supporting tone.

Palettes built on #040265

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

Luxury Packaging Feature · 5 colors

Navy Blue carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.

Moody Editorial Color · 5 colors

Navy Blue adds the colour to this moody editorial scheme — charcoal and a mid-grey around it, a bone highlight, and a muted jewel accent drawn from Navy Blue.

Coastal Morning Lead · 5 colors

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

Vintage Leather Lead · 5 colors

Navy 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.

Minimal Editorial Surface · 5 colors

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

Build a working theme in the generator →

Color Lab

How #040265 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 13/100
Cool
Reads cool and recessive — calming, technical, good for trust-led UI.
Softness 19/100
Very low
Firm and assertive — carries weight and contrast.
Depth 80/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 21/100
Low
Clean and current — no dusty, aged cast.
Luxury 76/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 60/100
High
Bold and ownable — memorable as a primary brand color.
UI accent fit 22/100
Low
Weak as an action color — too pale, too dark or too muted to signal.
Surface fit 25/100
Low
Too saturated or mid-toned for big areas — keep it to accents.
Print safety 72/100
High
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #040265

For UI
For branding
For interior
For fashion

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 17.5:1. Use
Subtle surface Use #BBBAF2 for cards and hover fills. Tint 80
Avoid beside #240264 — 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 #040265 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: #040265;
  --color-base-rgb: 4 2 101;
  --color-base-oklch: oklch(23.4% 0.155 266.1);
  --color-50: #F1F0FE;
  --color-100: #D8D8FD;
  --color-200: #B2B1FC;
  --color-300: #7C7AF6;
  --color-400: #4C4AE8;
  --color-500: #2926CF;
  --color-600: #27259D;
  --color-700: #22216E;
  --color-800: #1A1948;
  --color-900: #12122C;
  --color-on-base: #FFFFFF;
}