#333842 color

#333842 rgb(51, 56, 66)
Shades of gray

The hex color #333842 is a dark, grayish blue.

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

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

The closest named color is Do Not Disturb (#363B43), a difference of 1.5 ΔE, which is barely visible.

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

#333842 color codes

HEX#333842
RGBrgb(51, 56, 66)
RGB percentrgb(20%, 22%, 25.9%)
HSLhsl(220, 13%, 23%)
HSV / HSBhsv(220, 23%, 26%)
CMYKcmyk(23%, 15%, 0%, 74%)
CIE LABlab(23.42, 0.48, -6.9)
CIE LCHlch(23.42, 6.92, 273.96)
CIE XYZxyz(3.763, 3.925, 5.713)
Decimal3356738
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #333842?
#333842 is a dark, grayish blue, closest to the named color Do Not Disturb. It belongs to the gray family of colors.
What is the RGB value of #333842?
The RGB value is 51, 56, 66: 51 red, 56 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #333842?
The complementary color is #423D33, found by rotating the hue 180° on the color wheel.
Is black or white text better on #333842?
White text. Black text has a contrast ratio of 1.79:1 and white text 11.76:1. WCAG asks for at least 4.5:1 for normal text.