ColorXprez

#313142

Gunmetal · dark cool blue

About #313142

#313142 is a muted, dark shade in the blue family. On screen it is built from 19% red, 19% green and 26% blue; for print, its CMYK mix is 26% cyan, 26% magenta, 0% yellow and 74% black. Its overall feel is cool.

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

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

Colour codes

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

Closest named colours

Gunmetal
#2A3439 · ΔE 9.5
Charcoal
#36454F · ΔE 11.0
Graphite
#383838 · ΔE 11.8

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

Text on #313142

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on gunmetal #313142.
12.74:1AAA
Black heading text
Body copy set on gunmetal #313142.
1.65:1Fail

Colour-blindness preview

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

Normal vision
#313142
Protanopia (no red cones)
#2D3343
Deuteranopia (no green cones)
#2C3242
Tritanopia (no blue cones)
#2D3437

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #313142?

#313142 is a muted, dark shade in the blue family. On screen it is built from 19% red, 19% green and 26% blue; for print, its CMYK mix is 26% cyan, 26% magenta, 0% yellow and 74% black. Its overall feel is cool.

›What text colour should I use on #313142?

Use white text. White on #313142 has a contrast ratio of 12.74:1 (AAA).

›What colours go with #313142?

Its complementary colour is #424231, and analogous partners are #313A42 and #3A3142.