Toolman

#6B7280 color

#6B7280#6B7280

The swatch above shows #6B7280 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.

#6B7280 is a medium, desaturated blue, closest to the CSS named color dimgray (#696969).

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

Color values

HEX#6B7280
RGBrgb(107, 114, 128)
HSLhsl(220, 9%, 46%)
CMYKcmyk(16%, 11%, 0%, 50%)
Decimal7041664
CSScolor: #6B7280;
Android0xFF6B7280
SwiftUIColor(red: 0.420, green: 0.447, blue: 0.502, alpha: 1)

Accessibility and contrast

White text on #6B72804.83:1 — AA pass · AA large pass · AAA fail
Black text on #6B72804.34:1 — AA fail · AA large pass · 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 #6B7280

Each swatch keeps the hue and saturation of #6B7280 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 #6B7280

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 #6B7280 in code

/* CSS */
.element { color: #6B7280; background-color: #6B7280; }
.element { color: rgb(107 114 128); }
.element { color: hsl(220 9% 46%); }

/* Tailwind */
<div class="bg-gray-500 text-white">

/* SCSS variable */
$brand: #6B7280;

Frequently asked questions

What color is #6B7280?

#6B7280 is a medium, desaturated blue. Its hue sits at 220° on the color wheel, with 9% saturation and 46% lightness.

What is #6B7280 in RGB?

#6B7280 converts to rgb(107, 114, 128) — 107 red, 114 green and 128 blue.

What is #6B7280 in CMYK?

Approximately cmyk(16%, 11%, 0%, 50%). 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 #6B7280 be white or black?

White gives the better contrast ratio (4.83:1 versus 4.34:1).

What is the complementary color of #6B7280?

#80796B — the hue directly opposite #6B7280 on the color wheel.

Convert any color → · Browse all colors