#334656 color
The hex color #334656 is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 27.5% green and 33.7% blue (51, 70, 86).
Its hue angle is 207°, with 26% saturation and 27% lightness. For print, the CMYK equivalent is 41% cyan, 19% magenta, 0% yellow and 66% black.
The closest named color is One Year of Rain (#29465B), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.76:1).
#334656 color codes
| HEX | #334656 | |
|---|---|---|
| RGB | rgb(51, 70, 86) | |
| RGB percent | rgb(20%, 27.5%, 33.7%) | |
| HSL | hsl(207, 26%, 27%) | |
| HSV / HSB | hsv(207, 41%, 34%) | |
| CMYK | cmyk(41%, 19%, 0%, 66%) | |
| CIE LAB | lab(28.79, -2.82, -11.91) | |
| CIE LCH | lch(28.79, 12.24, 256.69) | |
| CIE XYZ | xyz(5.235, 5.756, 9.637) | |
| Decimal | 3360342 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334656, 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 #334656 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.76:1 | Pass | Pass | Pass |
| #334656 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.76:1 | Pass | Pass | Pass |
| Sample text | 2.15: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 #334656 looks to people with the most common types of color vision deficiency.
#3f4657Protanopia
no red cones#3b4256Deuteranopia
no green cones#274a4bTritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #334656; }
.text { color: #334656; }
.border { border: 2px solid #334656; }
.transparent { background-color: rgb(51 70 86 / 50%); }
.gradient { background: linear-gradient(to right, #334656, #333556); }
Similar colors
#29465bOne Year of Rain#36454fCharcoal#3e4855Starless Night#404c57Abyssal#253f4eDepths of the Nile#314e64Outer Space#324c64Bluedgeons#3e5361Dark Secret
Questions
- What color is #334656?
- #334656 is a dark, desaturated azure, closest to the named color One Year of Rain. It belongs to the gray family of colors.
- What is the RGB value of #334656?
- The RGB value is 51, 70, 86: 51 red, 70 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #334656?
- The complementary color is #564333, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334656?
- White text. Black text has a contrast ratio of 2.15:1 and white text 9.76:1. WCAG asks for at least 4.5:1 for normal text.