#404040

Tailwind neutral-700

#404040 is a grey colour. In RGB it is 64 red, 64 green and 64 blue, which converts to a hue of 0 degrees, 0% saturation and 25% lightness. It is Tailwind neutral-700 in that design system's palette.

Color values

HEX#404040
RGBrgb(64, 64, 64)
HSLhsl(0, 0%, 25%)
HSVhsv(0, 0%, 25%)
CMYKcmyk(0%, 0%, 0%, 75%)

Contrast and accessibility

Against white the contrast ratio is 10.37:1, and against black it is 2.03:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White10.37:1AAAAAA
Black2.03:1FailFail

Tints and shades

Lighter tints move #404040 toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #404040;
CSS rgb()color: rgb(64 64 64);
Tailwindbg-[#404040]
SwiftUIColor(red: 0.251, green: 0.251, blue: 0.251)
AndroidColor.parseColor("#404040")

Closest named color

The nearest CSS colour keyword to #404040 is darkslategray (#2F4F4F).

Related tools