#335377 color
The hex color #335377 is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 32.5% green and 46.7% blue (51, 83, 119).
Its hue angle is 212°, with 40% saturation and 33% lightness. For print, the CMYK equivalent is 57% cyan, 30% magenta, 0% yellow and 53% black.
The closest named color is Slumber (#2D517C), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.94:1).
#335377 color codes
| HEX | #335377 | |
|---|---|---|
| RGB | rgb(51, 83, 119) | |
| RGB percent | rgb(20%, 32.5%, 46.7%) | |
| HSL | hsl(212, 40%, 33%) | |
| HSV / HSB | hsv(212, 57%, 47%) | |
| CMYK | cmyk(57%, 30%, 0%, 53%) | |
| CIE LAB | lab(34.44, -0.25, -24.06) | |
| CIE LCH | lch(34.44, 24.06, 269.4) | |
| CIE XYZ | xyz(7.787, 8.222, 18.626) | |
| Decimal | 3363703 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335377, 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 #335377 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.94:1 | Pass | Pass | Pass |
| #335377 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.94:1 | Pass | Pass | Pass |
| Sample text | 2.64: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 #335377 looks to people with the most common types of color vision deficiency.
#445579Protanopia
no red cones#3c4e76Deuteranopia
no green cones#065b60Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #335377; }
.text { color: #335377; }
.border { border: 2px solid #335377; }
.transparent { background-color: rgb(51 83 119 / 50%); }
.gradient { background: linear-gradient(to right, #335377, #353377); }
Similar colors
#2d517cSlumber#2d5284Galaxy Blue#39527dSt. Tropaz#335588Glimpse of Void#2d4f83Assassin#314a76Dragonfly#254770Pretty Twilight Night#32496fMidnight Interlude
Closest common color name: Charcoal.
Questions
- What color is #335377?
- #335377 is a dark, desaturated azure, closest to the named color Slumber. It belongs to the blue family of colors.
- What is the RGB value of #335377?
- The RGB value is 51, 83, 119: 51 red, 83 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #335377?
- The complementary color is #775733, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335377?
- White text. Black text has a contrast ratio of 2.64:1 and white text 7.94:1. WCAG asks for at least 4.5:1 for normal text.