Nearest named color: Onyx
#313F41
#313F41
Nearest named
Onyx
Family
Gray
Lightness
35.6%
Chroma
0.019
Hue angle
207.0°
Temperature
Cool
Contrast on white
10.95:1 · AAA
Contrast on black
1.70:1 · Fail
Web-safe
#333333
CSS oklch()
36% 0.02 207

#313F41 is a mid neutral with only a whisper of temperate cast. On the Color Lab it reads clean and engineered, quietly premium. It reproduces cleanly in print.

Palettes built on #313F41

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

Tech Product Signal · 5 colors

Onyx is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Onyx.

Vintage Leather Lead · 5 colors

Onyx plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.

Japanese Sand Base · 5 colors

Onyx sets a calm, sun-bleached base here, wrapped in bone and paper off-whites and a soft greige, with a single ink accent for wabi-sabi restraint.

Coastal Morning Lead · 5 colors

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

Minimal Editorial Surface · 5 colors

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

Build a working theme in the generator →

Color Lab

How #313F41 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 45/100
Neutral
Balanced temperature — flexible, sits between warm and cool schemes.
Softness 38/100
Low
Middle-weight — neither delicate nor heavy.
Depth 60/100
High
Mid depth — usable as an accent or a muted ground.
Naturalness 2/100
Very low
Reads engineered rather than organic — synthetic, digital.
Vintage feel 27/100
Low
A faint retro warmth without tipping into sepia.
Luxury 62/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 7/100
Very low
Quiet and neutral — a supporting tone, not a signature.
UI accent fit 32/100
Low
Workable accent with care around contrast.
Surface fit 56/100
Moderate
Usable as a tinted surface in measured doses.
Print safety 95/100
Very high
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #313F41

For UI
For branding
For interior
For fashion
People also use #313F41 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.9:1. Use
Subtle surface Use #D3DADB for cards and hover fills. Tint 80
Avoid beside #303940 — 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 #313F41 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: #313F41;
  --color-base-rgb: 49 63 65;
  --color-base-oklch: oklch(35.6% 0.019 207.0);
  --color-50: #F6F8F9;
  --color-100: #E8EDEE;
  --color-200: #D1DADC;
  --color-300: #AFBEC1;
  --color-400: #8DA1A5;
  --color-500: #6E8387;
  --color-600: #58676A;
  --color-700: #424C4D;
  --color-800: #2D3334;
  --color-900: #1D2020;
  --color-on-base: #FFFFFF;
}