#31383A color

#31383A rgb(49, 56, 58)
Shades of gray

The hex color #31383A is a dark, grayish cyan.

In the RGB color model it is made of 19.2% red, 22% green and 22.7% blue (49, 56, 58).

Its hue angle is 193°, with 8% saturation and 21% lightness. For print, the CMYK equivalent is 16% cyan, 3% magenta, 0% yellow and 77% black.

The closest named color is Phantom Ship (#2F3434), a difference of 1.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 11.95:1).

#31383A color codes

HEX#31383A
RGBrgb(49, 56, 58)
RGB percentrgb(19.2%, 22%, 22.7%)
HSLhsl(193, 8%, 21%)
HSV / HSBhsv(193, 16%, 23%)
CMYKcmyk(16%, 3%, 0%, 77%)
CIE LABlab(22.95, -2.44, -2.25)
CIE LCHlch(22.95, 3.32, 222.65)
CIE XYZxyz(3.444, 3.787, 4.552)
Decimal3225658
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31383A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #31383ARatioAAAAAAA large
Sample text1.76:1FailFailFail
Sample text11.95:1PassPassPass
#31383A as text onRatioAAAAAAA large
Sample text11.95:1PassPassPass
Sample text1.76:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #31383A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31383a; }
.text { color: #31383a; }
.border { border: 2px solid #31383a; }
.transparent { background-color: rgb(49 56 58 / 50%); }
.gradient { background: linear-gradient(to right, #31383a, #31333a); }
Background
Text color
Border

Similar colors

Questions

What color is #31383A?
#31383A is a dark, grayish cyan, closest to the named color Phantom Ship. It belongs to the gray family of colors.
What is the RGB value of #31383A?
The RGB value is 49, 56, 58: 49 red, 56 green and 58 blue on a 0 to 255 scale.
What is the complementary color of #31383A?
The complementary color is #3A3331, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31383A?
White text. Black text has a contrast ratio of 1.76:1 and white text 11.95:1. WCAG asks for at least 4.5:1 for normal text.