#333A38 color

#333A38 rgb(51, 58, 56)
Shades of gray

The hex color #333A38 is a dark gray.

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

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

The closest named color is Onyx (#353935), a difference of 1.9 ΔE, which is barely visible.

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

#333A38 color codes

HEX#333A38
RGBrgb(51, 58, 56)
RGB percentrgb(20%, 22.7%, 22%)
HSLhsl(163, 6%, 21%)
HSV / HSBhsv(163, 12%, 23%)
CMYKcmyk(12%, 0%, 3%, 77%)
CIE LABlab(23.72, -3.43, 0.24)
CIE LCHlch(23.72, 3.43, 176.01)
CIE XYZxyz(3.592, 4.015, 4.326)
Decimal3357240
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #333A38?
#333A38 is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
What is the RGB value of #333A38?
The RGB value is 51, 58, 56: 51 red, 58 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #333A38?
The complementary color is #3A3335, found by rotating the hue 180° on the color wheel.
Is black or white text better on #333A38?
White text. Black text has a contrast ratio of 1.8:1 and white text 11.65:1. WCAG asks for at least 4.5:1 for normal text.