#335255 color
The hex color #335255 is a dark, grayish cyan.
In the RGB color model it is made of 20% red, 32.2% green and 33.3% blue (51, 82, 85).
Its hue angle is 185°, with 25% saturation and 27% lightness. For print, the CMYK equivalent is 40% cyan, 4% magenta, 0% yellow and 67% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.47:1).
#335255 color codes
| HEX | #335255 | |
|---|---|---|
| RGB | rgb(51, 82, 85) | |
| RGB percent | rgb(20%, 32.2%, 33.3%) | |
| HSL | hsl(185, 25%, 27%) | |
| HSV / HSB | hsv(185, 40%, 33%) | |
| CMYK | cmyk(40%, 4%, 0%, 67%) | |
| CIE LAB | lab(32.69, -10.53, -5.39) | |
| CIE LCH | lch(32.69, 11.83, 207.09) | |
| CIE XYZ | xyz(6.022, 7.394, 9.702) | |
| Decimal | 3363413 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335255, 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 #335255 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.48:1 | Fail | Fail | Fail |
| Sample text | 8.47:1 | Pass | Pass | Pass |
| #335255 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.47:1 | Pass | Pass | Pass |
| Sample text | 2.48: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 #335255 looks to people with the most common types of color vision deficiency.
#4e4f55Protanopia
no red cones#484b55Deuteranopia
no green cones#255453Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #335255; }
.text { color: #335255; }
.border { border: 2px solid #335255; }
.transparent { background-color: rgb(51 82 85 / 50%); }
.gradient { background: linear-gradient(to right, #335255, #334155); }
Similar colors
#2f4f4fDark Slate Gray#345c61Arctic Nights#3c4f4eNight Watch#23505aSunken Mystery#3b5760Great Void#27454aMysterious Waters#2d454aLittle Mermaid#405e5cRosemary
Questions
- What color is #335255?
- #335255 is a dark, grayish cyan, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
- What is the RGB value of #335255?
- The RGB value is 51, 82, 85: 51 red, 82 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #335255?
- The complementary color is #553633, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335255?
- White text. Black text has a contrast ratio of 2.48:1 and white text 8.47:1. WCAG asks for at least 4.5:1 for normal text.