#42474A color

#42474A rgb(66, 71, 74)
Shades of gray

The hex color #42474A is a dark gray.

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

Its hue angle is 203°, with 6% saturation and 27% lightness. For print, the CMYK equivalent is 11% cyan, 4% magenta, 0% yellow and 71% black.

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

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

#42474A color codes

HEX#42474A
RGBrgb(66, 71, 74)
RGB percentrgb(25.9%, 27.8%, 29%)
HSLhsl(203, 6%, 27%)
HSV / HSBhsv(203, 11%, 29%)
CMYKcmyk(11%, 4%, 0%, 71%)
CIE LABlab(29.81, -1.34, -2.5)
CIE LCHlch(29.81, 2.84, 241.85)
CIE XYZxyz(5.736, 6.159, 7.364)
Decimal4343626
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Charcoal.

Questions

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