#334756 color
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 | |
|---|---|---|
| RGB | rgb(51, 71, 86) | |
| RGB percent | rgb(20%, 27.8%, 33.7%) | |
| HSL | hsl(206, 26%, 27%) | |
| HSV / HSB | hsv(206, 41%, 34%) | |
| CMYK | cmyk(41%, 17%, 0%, 66%) | |
| CIE LAB | lab(29.11, -3.46, -11.42) | |
| CIE LCH | lch(29.11, 11.93, 253.15) | |
| CIE XYZ | xyz(5.298, 5.882, 9.658) | |
| Decimal | 3360598 | |
| Short hex | None (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 #334756 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.65:1 | Pass | Pass | Pass |
| #334756 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.65:1 | Pass | Pass | Pass |
| Sample text | 2.18:1 | Fail | Fail | Fail |
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.
#414757Protanopia
no red cones#3c4356Deuteranopia
no green cones#274b4cTritanopia
no blue cones#454545Achromatopsia
no color vision
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); }
Similar colors
#36454fCharcoal#29465bOne Year of Rain#253f4eDepths of the Nile#404c57Abyssal#314e64Outer Space#3e4855Starless Night#344d58Nocturne#324c64Bluedgeons
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.