#42474C color

#42474C rgb(66, 71, 76)
Shades of gray

The hex color #42474C is a dark gray.

In the RGB color model it is made of 25.9% red, 27.8% green and 29.8% blue (66, 71, 76).

Its hue angle is 210°, with 7% saturation and 28% lightness. For print, the CMYK equivalent is 13% cyan, 7% magenta, 0% yellow and 70% black.

The closest named color is Stargazing (#414549), a difference of 0.9 ΔE, which is barely visible.

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

#42474C color codes

HEX#42474C
RGBrgb(66, 71, 76)
RGB percentrgb(25.9%, 27.8%, 29.8%)
HSLhsl(210, 7%, 28%)
HSV / HSBhsv(210, 13%, 30%)
CMYKcmyk(13%, 7%, 0%, 70%)
CIE LABlab(29.88, -0.85, -3.69)
CIE LCHlch(29.88, 3.79, 256.99)
CIE XYZxyz(5.804, 6.186, 7.724)
Decimal4343628
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #42474C, 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 #42474CRatioAAAAAAA large
Sample text2.24:1FailFailFail
Sample text9.39:1PassPassPass
#42474C as text onRatioAAAAAAA large
Sample text9.39:1PassPassPass
Sample text2.24: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 #42474C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #42474c; }
.text { color: #42474c; }
.border { border: 2px solid #42474c; }
.transparent { background-color: rgb(66 71 76 / 50%); }
.gradient { background: linear-gradient(to right, #42474c, #42424c); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #42474C?
#42474C is a dark gray, closest to the named color Stargazing. It belongs to the gray family of colors.
What is the RGB value of #42474C?
The RGB value is 66, 71, 76: 66 red, 71 green and 76 blue on a 0 to 255 scale.
What is the complementary color of #42474C?
The complementary color is #4C4742, found by rotating the hue 180° on the color wheel.
Is black or white text better on #42474C?
White text. Black text has a contrast ratio of 2.24:1 and white text 9.39:1. WCAG asks for at least 4.5:1 for normal text.