Graphite
#5B5B66rgb(91, 91, 102)hsl(240, 6%, 38%)
Graphite is #5B5B66, rgb(91, 91, 102).
Colors that go with Graphite
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whitePass6.70 : 1
- On ink blackFail2.86 : 1
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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 6.70:1 | Pass | Pass | Fail |
| Ink black #0F0F12 | 2.86:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 1.39:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.54:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 5.41:1 | Pass | Pass | Fail |
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, or open the palette generator with Graphite locked and let it fill in the rest.
Full values for Graphite
| Format | Value |
|---|---|
| HEX | #5B5B66 |
| RGB | rgb(91, 91, 102) |
| HSL | hsl(240, 6%, 38%) |
| HSV | hsv(240, 11%, 40%) |
| CMYK | cmyk(11%, 11%, 0%, 60%) |
| OKLCH | oklch(47.51% 0.0176 285.71) |
| CIELAB | lab(39.01 2.44 -6.28) |
Frequently asked questions
What is the RGB value of Graphite?
Graphite (#5B5B66) is rgb(91, 91, 102): 91 red, 91 green and 102 blue on the 0 to 255 scale. Blue leads at 102 while red and green both sit at 91, which puts the hue at 240 degrees. In HSL the same color is hsl(240, 6%, 38%).
What colour is #5B5B66?
#5B5B66 is Graphite, a dark neutral colour with 6% saturation and 38% lightness. For print the CMYK breakdown is 11% cyan, 11% magenta, 0% yellow and 60% black. Its nearest neighbour in this library is Dim Gray, 8.6 away in CIELAB, a difference you can see.
Is Graphite a CSS color name?
No. Graphite is not one of the 148 CSS named colors, so write it as #5B5B66. The nearest keyword is dimgray (#696969), a CIE76 distance of 8.6: a visible difference, so the keyword is only a rough stand-in.
What colors go with Graphite?
Opposite Graphite on the color wheel sits the complementary #66665B, the boldest accent by hue. For a calmer scheme use the analogous neighbours #5B6066 (close to Graphite) and #605B66 (close to Graphite); for a balanced three-color scheme use the triadic pair #665B5B and #5B665B. Of these, #66665B has the most contrast against Graphite, at 1.15:1, so pair it by hue, not for legibility.
What text color is readable on Graphite?
White (#FFFFFF) is the most readable on Graphite, at 6.70:1, which clears WCAG AA (4.5:1) but not AAA. 2 of the 5 common text colors tested pass AA for normal text.
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.