#335060 color
The hex color #335060 is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 31.4% green and 37.6% blue (51, 80, 96).
Its hue angle is 201°, with 31% saturation and 29% lightness. For print, the CMYK equivalent is 47% cyan, 17% magenta, 0% yellow and 62% black.
The closest named color is Moonlit Sonata (#37525F), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.55:1).
#335060 color codes
| HEX | #335060 | |
|---|---|---|
| RGB | rgb(51, 80, 96) | |
| RGB percent | rgb(20%, 31.4%, 37.6%) | |
| HSL | hsl(201, 31%, 29%) | |
| HSV / HSB | hsv(201, 47%, 38%) | |
| CMYK | cmyk(47%, 17%, 0%, 62%) | |
| CIE LAB | lab(32.45, -6, -12.72) | |
| CIE LCH | lch(32.45, 14.06, 244.75) | |
| CIE XYZ | xyz(6.344, 7.285, 12.136) | |
| Decimal | 3362912 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335060, 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 #335060 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.46:1 | Fail | Fail | Fail |
| Sample text | 8.55:1 | Pass | Pass | Pass |
| #335060 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.55:1 | Pass | Pass | Pass |
| Sample text | 2.46: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 #335060 looks to people with the most common types of color vision deficiency.
#484f61Protanopia
no red cones#424a60Deuteranopia
no green cones#205455Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #335060; }
.text { color: #335060; }
.border { border: 2px solid #335060; }
.transparent { background-color: rgb(51 80 96 / 50%); }
.gradient { background: linear-gradient(to right, #335060, #333960); }
Similar colors
#37525fMoonlit Sonata#2a4f61Shadow of Night#344d58Nocturne#3e5361Dark Secret#314e64Outer Space#255367Juggernaut#3f5865Stargazer#254855Mallard
Closest common color name: Charcoal.
Questions
- What color is #335060?
- #335060 is a dark, desaturated azure, closest to the named color Moonlit Sonata. It belongs to the blue family of colors.
- What is the RGB value of #335060?
- The RGB value is 51, 80, 96: 51 red, 80 green and 96 blue on a 0 to 255 scale.
- What is the complementary color of #335060?
- The complementary color is #604333, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335060?
- White text. Black text has a contrast ratio of 2.46:1 and white text 8.55:1. WCAG asks for at least 4.5:1 for normal text.