#313338 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #313338 graphic
The dark, low-saturation grey #313338 carries a cool, slightly blue undertone and a restrained, professional mood. Use it as a dominant UI background or dark-mode surface. White text reads clearly against it at about 12.6:1 contrast, meeting WCAG AA for body text. Its subdued character suits serious branding, typography, and minimal layouts. The hex code is #313338.

Questions about #313338

What is #313338 in RGB, HSL and CMYK?
In RGB, #313338 is rgb(49, 51, 56), in HSL hsl(223, 7%, 21%) and in CMYK 13%, 9%, 0%, 78%. Browse more shades of black with names and hex codes.
What colors pair well with #313338?
#313338 pairs well with white, soft gray, pale blue, and muted accents, creating clear contrast without disturbing its restrained mood; terracotta and burgundy add warmth, while pale blue keeps the palette cool.
Is #313338 warm or cool?
#313338 reads as a cool dark gray because its blue component is slightly higher than its red and green values, while its low saturation keeps that coolness subtle and gives the shade a neutral, professional appearance instead of a strongly blue look.
Is #313338 readable on white or black?
#313338 has a 12.64:1 contrast ratio on white and 1.66:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.