#333366 color
The hex color #333366 is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 20% green and 40% blue (51, 51, 102).
Its hue angle is 240°, with 33% saturation and 30% lightness. For print, the CMYK equivalent is 50% cyan, 50% magenta, 0% yellow and 60% black.
The closest named color is Galaxea (#2E305E), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.63:1).
#333366 color codes
| HEX | #333366 | |
|---|---|---|
| RGB | rgb(51, 51, 102) | |
| RGB percent | rgb(20%, 20%, 40%) | |
| HSL | hsl(240, 33%, 30%) | |
| HSV / HSB | hsv(240, 50%, 40%) | |
| CMYK | cmyk(50%, 50%, 0%, 60%) | |
| CIE LAB | lab(23.77, 15.25, -30.12) | |
| CIE LCH | lch(23.77, 33.76, 296.85) | |
| CIE XYZ | xyz(4.947, 4.031, 13.085) | |
| Decimal | 3355494 | |
| Short hex | #336 |
Color harmonies
Colors that go with #333366, 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 #333366 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.63:1 | Pass | Pass | Pass |
| #333366 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.63:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #333366 looks to people with the most common types of color vision deficiency.
#1e3a68Protanopia
no red cones#1a3765Deuteranopia
no green cones#213e47Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #333366; }
.text { color: #333366; }
.border { border: 2px solid #333366; }
.transparent { background-color: rgb(51 51 102 / 50%); }
.gradient { background: linear-gradient(to right, #333366, #4d3366); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#322c56Purple Noir#333c76Good Karma#2b3458Midnight Escapade#1c2e63Mythical Night#3d3d63Storm Is Coming#2a2551Pāua
Closest common color name: Dark Slate Blue.
Questions
- What color is #333366?
- #333366 is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #333366?
- The RGB value is 51, 51, 102: 51 red, 51 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #333366?
- The complementary color is #666633, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333366?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.63:1. WCAG asks for at least 4.5:1 for normal text.