Toolman

#0A0A0A color

#0A0A0A#0A0A0A

The swatch above shows #0A0A0A with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#0A0A0A is a very dark, desaturated near-black grey, closest to the CSS named color black (#000000).

It is also a Tailwind CSS default: neutral-950. That means you can write bg-neutral-950 or text-neutral-950 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#0A0A0A
RGBrgb(10, 10, 10)
HSLhsl(0, 0%, 4%)
CMYKcmyk(0%, 0%, 0%, 96%)
Decimal657930
CSScolor: #0A0A0A;
Android0xFF0A0A0A
SwiftUIColor(red: 0.039, green: 0.039, blue: 0.039, alpha: 1)

Accessibility and contrast

White text on #0A0A0A19.80:1 — AA pass · AA large pass · AAA pass
Black text on #0A0A0A1.06:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #0A0A0A

Each swatch keeps the hue and saturation of #0A0A0A and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #0A0A0A

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #0A0A0A in code

/* CSS */
.element { color: #0A0A0A; background-color: #0A0A0A; }
.element { color: rgb(10 10 10); }
.element { color: hsl(0 0% 4%); }

/* Tailwind */
<div class="bg-neutral-950 text-white">

/* SCSS variable */
$brand: #0A0A0A;

Frequently asked questions

What color is #0A0A0A?

#0A0A0A is a very dark, desaturated near-black grey. Its hue sits at 0° on the color wheel, with 0% saturation and 4% lightness.

What is #0A0A0A in RGB?

#0A0A0A converts to rgb(10, 10, 10) — 10 red, 10 green and 10 blue.

What is #0A0A0A in CMYK?

Approximately cmyk(0%, 0%, 0%, 96%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #0A0A0A be white or black?

White gives the better contrast ratio (19.80:1 versus 1.06:1).

What is the complementary color of #0A0A0A?

#0A0A0A — the hue directly opposite #0A0A0A on the color wheel.

Convert any color → · Browse all colors