ColorXprez

#313A42

Gunmetal · dark neutral

About #313A42

#313A42 is a near-neutral, dark shade in the blue family. On screen it is built from 19% red, 23% green and 26% blue; for print, its CMYK mix is 26% cyan, 12% magenta, 0% yellow and 74% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

Of the common colour names it is very close to Gunmetal (ΔE 3.6); Charcoal comes next. Its complementary colour, directly opposite on the colour wheel, is #423931 — a graphite tone that gives the strongest contrast in hue.

Designers tend to use dark tones like #313A42 for headings, body text, footers and dark-mode backgrounds. White text reads best on it at 11.57:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (11.57:1).

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red49
Green58
Blue66

Closest named colours

Gunmetal
#2A3439 · ΔE 3.6
Charcoal
#36454F · ΔE 5.1
Graphite
#383838 · ΔE 6.4

ΔE measures visible difference: under 2 is barely noticeable, over 10 is clearly different.

Text on #313A42

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on gunmetal #313A42.
11.57:1AAA
Black heading text
Body copy set on gunmetal #313A42.
1.81:1Fail

Colour-blindness preview

How #313A42 appears to people with the three most common types of colour-vision deficiency.

Normal vision
#313A42
Protanopia (no red cones)
#373A42
Deuteranopia (no green cones)
#353842
Tritanopia (no blue cones)
#2C3C3D

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #313A42?

#313A42 is a near-neutral, dark shade in the blue family. On screen it is built from 19% red, 23% green and 26% blue; for print, its CMYK mix is 26% cyan, 12% magenta, 0% yellow and 74% black. Being nearly neutral, it pairs easily with warm and cool tones alike.

›What text colour should I use on #313A42?

Use white text. White on #313A42 has a contrast ratio of 11.57:1 (AAA).

›What colours go with #313A42?

Its complementary colour is #423931, and analogous partners are #314242 and #313242.