#334756 color

#334756 rgb(51, 71, 86)
Shades of gray

The hex color #334756 is a dark, desaturated azure.

In the RGB color model it is made of 20% red, 27.8% green and 33.7% blue (51, 71, 86).

Its hue angle is 206°, with 26% saturation and 27% lightness. For print, the CMYK equivalent is 41% cyan, 17% magenta, 0% yellow and 66% black.

The closest named color is Charcoal (#36454F), a difference of 2.5 ΔE, a small difference.

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

#334756 color codes

HEX#334756
RGBrgb(51, 71, 86)
RGB percentrgb(20%, 27.8%, 33.7%)
HSLhsl(206, 26%, 27%)
HSV / HSBhsv(206, 41%, 34%)
CMYKcmyk(41%, 17%, 0%, 66%)
CIE LABlab(29.11, -3.46, -11.42)
CIE LCHlch(29.11, 11.93, 253.15)
CIE XYZxyz(5.298, 5.882, 9.658)
Decimal3360598
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #334756; }
.text { color: #334756; }
.border { border: 2px solid #334756; }
.transparent { background-color: rgb(51 71 86 / 50%); }
.gradient { background: linear-gradient(to right, #334756, #333556); }
Background
Text color
Border

Similar colors

Questions

What color is #334756?
#334756 is a dark, desaturated azure, closest to the named color Charcoal. It belongs to the gray family of colors.
What is the RGB value of #334756?
The RGB value is 51, 71, 86: 51 red, 71 green and 86 blue on a 0 to 255 scale.
What is the complementary color of #334756?
The complementary color is #564233, found by rotating the hue 180° on the color wheel.
Is black or white text better on #334756?
White text. Black text has a contrast ratio of 2.18:1 and white text 9.65:1. WCAG asks for at least 4.5:1 for normal text.