#335251 color
The hex color #335251 is a dark, grayish cyan.
In the RGB color model it is made of 20% red, 32.2% green and 31.8% blue (51, 82, 81).
Its hue angle is 178°, with 23% saturation and 26% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 1% yellow and 68% black.
The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.51:1).
#335251 color codes
| HEX | #335251 | |
|---|---|---|
| RGB | rgb(51, 82, 81) | |
| RGB percent | rgb(20%, 32.2%, 31.8%) | |
| HSL | hsl(178, 23%, 26%) | |
| HSV / HSB | hsv(178, 38%, 32%) | |
| CMYK | cmyk(38%, 0%, 1%, 68%) | |
| CIE LAB | lab(32.55, -11.67, -3.05) | |
| CIE LCH | lch(32.55, 12.06, 194.66) | |
| CIE XYZ | xyz(5.867, 7.332, 8.889) | |
| Decimal | 3363409 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335251, 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 #335251 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.51:1 | Pass | Pass | Pass |
| #335251 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.51:1 | Pass | Pass | Pass |
| Sample text | 2.47: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 #335251 looks to people with the most common types of color vision deficiency.
#4e4f51Protanopia
no red cones#494b51Deuteranopia
no green cones#275452Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #335251; }
.text { color: #335251; }
.border { border: 2px solid #335251; }
.transparent { background-color: rgb(51 82 81 / 50%); }
.gradient { background: linear-gradient(to right, #335251, #334452); }
Similar colors
#2f4f4fDark Slate Gray#315955Enchanting Ivy#33534bHunter#3c4f4eNight Watch#405e5cRosemary#345c61Arctic Nights#2e5c58Lacrosse#3a5b52Iridescent
Questions
- What color is #335251?
- #335251 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 #335251?
- The RGB value is 51, 82, 81: 51 red, 82 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #335251?
- The complementary color is #523334, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335251?
- White text. Black text has a contrast ratio of 2.47:1 and white text 8.51:1. WCAG asks for at least 4.5:1 for normal text.