#333A57 color
The hex color #333A57 is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 22.7% green and 34.1% blue (51, 58, 87).
Its hue angle is 228°, with 26% saturation and 27% lightness. For print, the CMYK equivalent is 41% cyan, 33% magenta, 0% yellow and 66% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.15:1).
#333A57 color codes
| HEX | #333A57 | |
|---|---|---|
| RGB | rgb(51, 58, 87) | |
| RGB percent | rgb(20%, 22.7%, 34.1%) | |
| HSL | hsl(228, 26%, 27%) | |
| HSV / HSB | hsv(228, 41%, 34%) | |
| CMYK | cmyk(41%, 33%, 0%, 66%) | |
| CIE LAB | lab(25.01, 5.43, -18.39) | |
| CIE LCH | lch(25.01, 19.18, 286.45) | |
| CIE XYZ | xyz(4.598, 4.418, 9.625) | |
| Decimal | 3357271 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333A57, 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 #333A57 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.15:1 | Pass | Pass | Pass |
| #333A57 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.15:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #333A57 looks to people with the most common types of color vision deficiency.
#303d58Protanopia
no red cones#2e3a56Deuteranopia
no green cones#284044Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #333a57; }
.text { color: #333a57; }
.border { border: 2px solid #333a57; }
.transparent { background-color: rgb(51 58 87 / 50%); }
.gradient { background: linear-gradient(to right, #333a57, #3e3357); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#3e4364Genie#3d3d63Storm Is Coming#2c2e47Midnight Masquerade#3b476bStarlit Night#273c5aNautilus#3a4866Bonne Nuit
Closest common color name: Prussian Blue.
Questions
- What color is #333A57?
- #333A57 is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #333A57?
- The RGB value is 51, 58, 87: 51 red, 58 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #333A57?
- The complementary color is #575033, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333A57?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.15:1. WCAG asks for at least 4.5:1 for normal text.