Nearest named color: Onyx
#2F3731
#2F3731
Nearest named
Onyx
Family
Gray
Lightness
32.7%
Chroma
0.015
Hue angle
153.1°
Temperature
Neutral-leaning
Contrast on white
12.27:1 · AAA
Contrast on black
1.51:1 · Fail
Web-safe
#333333
CSS oklch()
33% 0.02 153

#2F3731 is a mid neutral with only a whisper of temperate cast. On the Color Lab it reads quietly premium, restrained and easy to live with. It is too muted to lead as a primary accent and reproduces cleanly in print.

Palettes built on #2F3731

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

Botanical Studio Lead · 5 colors

Onyx leads this botanical set among foliage greens and a terracotta accent, softened by cream and grounded in bark brown.

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.

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 #2F3731 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 49/100
Neutral
Balanced temperature — flexible, sits between warm and cool schemes.
Softness 35/100
Low
Middle-weight — neither delicate nor heavy.
Depth 63/100
High
Deep and grounding — anchors a layout, strong dark-mode base.
Naturalness 26/100
Low
Loosely natural — an earthy edge without being rustic.
Vintage feel 30/100
Low
A faint retro warmth without tipping into sepia.
Luxury 64/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 6/100
Very low
Quiet and neutral — a supporting tone, not a signature.
UI accent fit 26/100
Low
Weak as an action color — too pale, too dark or too muted to signal.
Surface fit 59/100
Moderate
Usable as a tinted surface in measured doses.
Print safety 97/100
Very high
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #2F3731

For UI
For branding
For interior
For fashion
People also use #2F3731 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 12.3:1. Use
Subtle surface Use #D4D9D5 for cards and hover fills. Tint 80
Avoid beside #2F3734 — 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 #2F3731 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: #2F3731;
  --color-base-rgb: 47 55 49;
  --color-base-oklch: oklch(32.7% 0.015 153.1);
  --color-50: #F7F8F7;
  --color-100: #E9ECEA;
  --color-200: #D3D9D5;
  --color-300: #B2BDB5;
  --color-400: #92A096;
  --color-500: #738177;
  --color-600: #5C665E;
  --color-700: #444B46;
  --color-800: #2F322F;
  --color-900: #1D201E;
  --color-on-base: #FFFFFF;
}