#333D7E color
The hex color #333D7E is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 23.9% green and 49.4% blue (51, 61, 126).
Its hue angle is 232°, with 42% saturation and 35% lightness. For print, the CMYK equivalent is 60% cyan, 52% magenta, 0% yellow and 51% black.
The closest named color is Evening Magic (#363E7D), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.95:1).
#333D7E color codes
| HEX | #333D7E | |
|---|---|---|
| RGB | rgb(51, 61, 126) | |
| RGB percent | rgb(20%, 23.9%, 49.4%) | |
| HSL | hsl(232, 42%, 35%) | |
| HSV / HSB | hsv(232, 60%, 49%) | |
| CMYK | cmyk(60%, 52%, 0%, 51%) | |
| CIE LAB | lab(28.24, 16.86, -38.25) | |
| CIE LCH | lch(28.24, 41.81, 293.79) | |
| CIE XYZ | xyz(6.799, 5.547, 20.447) | |
| Decimal | 3358078 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333D7E, 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 #333D7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.11:1 | Fail | Fail | Fail |
| Sample text | 9.95:1 | Pass | Pass | Pass |
| #333D7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.95:1 | Pass | Pass | Pass |
| Sample text | 2.11: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 #333D7E looks to people with the most common types of color vision deficiency.
#1c4680Protanopia
no red cones#0f407dDeuteranopia
no green cones#024c57Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #333d7e; }
.text { color: #333d7e; }
.border { border: 2px solid #333d7e; }
.transparent { background-color: rgb(51 61 126 / 50%); }
.gradient { background: linear-gradient(to right, #333d7e, #4e337e); }
Similar colors
#363e7dEvening Magic#333c76Good Karma#3d4585Queen of the Night Shift#223382Deep Space Royal#1c3378Twilight Express#2c4170Napoleonic Blue#324471Space Missions#483d8bDark Slate Blue
Questions
- What color is #333D7E?
- #333D7E is a dark, desaturated blue, closest to the named color Evening Magic. It belongs to the blue family of colors.
- What is the RGB value of #333D7E?
- The RGB value is 51, 61, 126: 51 red, 61 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #333D7E?
- The complementary color is #7E7433, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333D7E?
- White text. Black text has a contrast ratio of 2.11:1 and white text 9.95:1. WCAG asks for at least 4.5:1 for normal text.