NEUTRAL

Graphite

#5B5B66
Conversions
HEX#5B5B66
RGBrgb(91, 91, 102)
HSLhsl(240, 6%, 38%)
HSVhsv(240, 11%, 40%)
CMYKcmyk(11%, 11%, 0%, 60%)
Copy CSS
color: #5b5b66; /* rgb */ color: rgb(91, 91, 102); /* hsl */ color: hsl(240, 6%, 38%);
Contrast
On whitePass · 6.70 : 1
On ink blackFail · 2.86 : 1
Shades
Tints
Pairings

About Graphite

Graphite is the hex color #5B5B66, which translates to rgb(91, 91, 102) in RGB and hsl(240, 6%, 38%) in HSL. On the color wheel it sits at 240 degrees, with a saturation of 6 percent and a lightness of 38 percent. Graphite is close to neutral, which makes it a structural color for text, borders and surfaces rather than an accent.

How Graphite compares

The closest standard CSS keyword is dimgray (#696969), a CIE76 distance of 8.6 away in CIELAB. That is a visible difference, so the keyword is not a substitute here. In the Tailwind CSS 4.3.1 palette the nearest token is zinc-600 (#52525C), at a distance of 3.8. Inside this library the closest neighbour is Dim Gray at 8.6. Sorted by lightness, Graphite is number 9 of the 37 neutral colors here.

Text on Graphite

2 of the five common text colors below clear WCAG AA for normal text on Graphite, led by White at 6.70:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Graphite already loaded as the background.

Contrast of common text colors on Graphite. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF6.70:1PassPassFail
Ink black #0F0F122.86:1FailFailFail
Mid grey #6B72801.39:1FailFailFail
Dark grey #3741511.54:1FailFailFail
Light grey #E5E7EB5.41:1PassPassFail

Building a palette around Graphite

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Graphite for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Graphite

FormatValue
HEX#5B5B66
RGBrgb(91, 91, 102)
HSLhsl(240, 6%, 38%)
HSVhsv(240, 11%, 40%)
CMYKcmyk(11%, 11%, 0%, 60%)
OKLCHoklch(47.51% 0.0176 285.71)
CIELABlab(39.01 2.44 -6.28)

Use Graphite in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.