#335288 color
The hex color #335288 is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 32.2% green and 53.3% blue (51, 82, 136).
Its hue angle is 218°, with 45% saturation and 37% lightness. For print, the CMYK equivalent is 63% cyan, 40% magenta, 0% yellow and 47% black.
The closest named color is Glimpse of Void (#335588), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.77:1).
#335288 color codes
| HEX | #335288 | |
|---|---|---|
| RGB | rgb(51, 82, 136) | |
| RGB percent | rgb(20%, 32.2%, 53.3%) | |
| HSL | hsl(218, 45%, 37%) | |
| HSV / HSB | hsv(218, 63%, 53%) | |
| CMYK | cmyk(63%, 40%, 0%, 47%) | |
| CIE LAB | lab(35.03, 6.44, -33.6) | |
| CIE LCH | lch(35.03, 34.21, 280.84) | |
| CIE XYZ | xyz(8.825, 8.515, 24.466) | |
| Decimal | 3363464 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335288, 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 #335288 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.77:1 | Pass | Pass | Pass |
| #335288 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.77:1 | Pass | Pass | Pass |
| Sample text | 2.7: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 #335288 looks to people with the most common types of color vision deficiency.
#3b578aProtanopia
no red cones#2f4f87Deuteranopia
no green cones#005e66Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #335288; }
.text { color: #335288; }
.border { border: 2px solid #335288; }
.transparent { background-color: rgb(51 82 136 / 50%); }
.gradient { background: linear-gradient(to right, #335288, #3f3388); }
Similar colors
#335588Glimpse of Void#2d4f83Assassin#2e5090Nightly Activities#2d5284Galaxy Blue#39527dSt. Tropaz#234e86Night Mode#2d517cSlumber#244e94Le Grand Bleu
Closest common color name: Cobalt Blue.
Questions
- What color is #335288?
- #335288 is a dark, desaturated azure, closest to the named color Glimpse of Void. It belongs to the blue family of colors.
- What is the RGB value of #335288?
- The RGB value is 51, 82, 136: 51 red, 82 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #335288?
- The complementary color is #886933, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335288?
- White text. Black text has a contrast ratio of 2.7:1 and white text 7.77:1. WCAG asks for at least 4.5:1 for normal text.