#334242 color

#334242 rgb(51, 66, 66)
Shades of gray

The hex color #334242 is a dark, grayish cyan.

In the RGB color model it is made of 20% red, 25.9% green and 25.9% blue (51, 66, 66).

Its hue angle is 180°, with 13% saturation and 23% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 0% yellow and 74% black.

The closest named color is Little Mermaid (#2D454A), a difference of 3.6 ΔE, a small difference.

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

#334242 color codes

HEX#334242
RGBrgb(51, 66, 66)
RGB percentrgb(20%, 25.9%, 25.9%)
HSLhsl(180, 13%, 23%)
HSV / HSBhsv(180, 23%, 26%)
CMYKcmyk(23%, 0%, 0%, 74%)
CIE LABlab(26.72, -6.01, -1.99)
CIE LCHlch(26.72, 6.33, 198.36)
CIE XYZxyz(4.297, 4.993, 5.891)
Decimal3359298
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #334242, 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 #334242RatioAAAAAAA large
Sample text2:1FailFailFail
Sample text10.51:1PassPassPass
#334242 as text onRatioAAAAAAA large
Sample text10.51:1PassPassPass
Sample text2: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 #334242 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #334242; }
.text { color: #334242; }
.border { border: 2px solid #334242; }
.transparent { background-color: rgb(51 66 66 / 50%); }
.gradient { background: linear-gradient(to right, #334242, #333b42); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #334242?
#334242 is a dark, grayish cyan, closest to the named color Little Mermaid. It belongs to the gray family of colors.
What is the RGB value of #334242?
The RGB value is 51, 66, 66: 51 red, 66 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #334242?
The complementary color is #423333, found by rotating the hue 180° on the color wheel.
Is black or white text better on #334242?
White text. Black text has a contrast ratio of 2:1 and white text 10.51:1. WCAG asks for at least 4.5:1 for normal text.