#335866 color
The hex color #335866 is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 34.5% green and 40% blue (51, 88, 102).
Its hue angle is 196°, with 33% saturation and 30% lightness. For print, the CMYK equivalent is 50% cyan, 14% magenta, 0% yellow and 60% black.
The closest named color is Under the Sea (#395D68), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.7:1).
#335866 color codes
| HEX | #335866 | |
|---|---|---|
| RGB | rgb(51, 88, 102) | |
| RGB percent | rgb(20%, 34.5%, 40%) | |
| HSL | hsl(196, 33%, 30%) | |
| HSV / HSB | hsv(196, 50%, 40%) | |
| CMYK | cmyk(50%, 14%, 0%, 60%) | |
| CIE LAB | lab(35.29, -8.99, -12.17) | |
| CIE LCH | lch(35.29, 15.13, 233.55) | |
| CIE XYZ | xyz(7.252, 8.642, 13.854) | |
| Decimal | 3364966 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335866, 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 #335866 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.73:1 | Fail | Fail | Fail |
| Sample text | 7.7:1 | Pass | Pass | Pass |
| #335866 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.7:1 | Pass | Pass | Pass |
| Sample text | 2.73: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 #335866 looks to people with the most common types of color vision deficiency.
#505667Protanopia
no red cones#495066Deuteranopia
no green cones#1a5c5cTritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #335866; }
.text { color: #335866; }
.border { border: 2px solid #335866; }
.transparent { background-color: rgb(51 88 102 / 50%); }
.gradient { background: linear-gradient(to right, #335866, #333f66); }
Similar colors
#395d68Under the Sea#3b5760Great Void#2a5c6aNight Shift#37525fMoonlit Sonata#255367Juggernaut#3f5865Stargazer#20586dNight Edition#336172Atlantis
Closest common color name: Dark Slate Gray.
Questions
- What color is #335866?
- #335866 is a dark, desaturated azure, closest to the named color Under the Sea. It belongs to the blue family of colors.
- What is the RGB value of #335866?
- The RGB value is 51, 88, 102: 51 red, 88 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #335866?
- The complementary color is #664133, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335866?
- White text. Black text has a contrast ratio of 2.73:1 and white text 7.7:1. WCAG asks for at least 4.5:1 for normal text.