#334A4B color
The hex color #334A4B is a dark, grayish cyan.
In the RGB color model it is made of 20% red, 29% green and 29.4% blue (51, 74, 75).
Its hue angle is 183°, with 19% saturation and 25% lightness. For print, the CMYK equivalent is 32% cyan, 1% magenta, 0% yellow and 71% black.
The closest named color is Night Watch (#3C4F4E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.45:1).
#334A4B color codes
| HEX | #334A4B | |
|---|---|---|
| RGB | rgb(51, 74, 75) | |
| RGB percent | rgb(20%, 29%, 29.4%) | |
| HSL | hsl(183, 19%, 25%) | |
| HSV / HSB | hsv(183, 32%, 29%) | |
| CMYK | cmyk(32%, 1%, 0%, 71%) | |
| CIE LAB | lab(29.69, -8.54, -3.46) | |
| CIE LCH | lch(29.69, 9.21, 202.04) | |
| CIE XYZ | xyz(5.084, 6.109, 7.567) | |
| Decimal | 3361355 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334A4B, 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 #334A4B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.45:1 | Pass | Pass | Pass |
| #334A4B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.45:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #334A4B looks to people with the most common types of color vision deficiency.
#47484bProtanopia
no red cones#42454bDeuteranopia
no green cones#2b4c4aTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #334a4b; }
.text { color: #334a4b; }
.border { border: 2px solid #334a4b; }
.transparent { background-color: rgb(51 74 75 / 50%); }
.gradient { background: linear-gradient(to right, #334a4b, #333e4b); }
Similar colors
#3c4f4eNight Watch#2d454aLittle Mermaid#2f4f4fDark Slate Gray#27454aMysterious Waters#224347Emerald Forest#455454All Nighter#424c4aUrban Chic#445155Descent Into the Catacombs
Questions
- What color is #334A4B?
- #334A4B is a dark, grayish cyan, closest to the named color Night Watch. It belongs to the gray family of colors.
- What is the RGB value of #334A4B?
- The RGB value is 51, 74, 75: 51 red, 74 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #334A4B?
- The complementary color is #4B3433, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334A4B?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.45:1. WCAG asks for at least 4.5:1 for normal text.