#333A4E color
The hex color #333A4E is a dark, grayish blue.
In the RGB color model it is made of 20% red, 22.7% green and 30.6% blue (51, 58, 78).
Its hue angle is 224°, with 21% saturation and 25% lightness. For print, the CMYK equivalent is 35% cyan, 26% magenta, 0% yellow and 69% black.
The closest named color is Dark & Stormy (#353F51), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.31:1).
#333A4E color codes
| HEX | #333A4E | |
|---|---|---|
| RGB | rgb(51, 58, 78) | |
| RGB percent | rgb(20%, 22.7%, 30.6%) | |
| HSL | hsl(224, 21%, 25%) | |
| HSV / HSB | hsv(224, 35%, 31%) | |
| CMYK | cmyk(35%, 26%, 0%, 69%) | |
| CIE LAB | lab(24.58, 2.61, -13.13) | |
| CIE LCH | lch(24.58, 13.39, 281.26) | |
| CIE XYZ | xyz(4.253, 4.28, 7.808) | |
| Decimal | 3357262 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #333A4E, 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 #333A4E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.86:1 | Fail | Fail | Fail |
| Sample text | 11.31:1 | Pass | Pass | Pass |
| #333A4E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.31:1 | Pass | Pass | Pass |
| Sample text | 1.86: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 #333A4E looks to people with the most common types of color vision deficiency.
#343c4fProtanopia
no red cones#31394eDeuteranopia
no green cones#2c3e41Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #333a4e; }
.text { color: #333a4e; }
.border { border: 2px solid #333a4e; }
.transparent { background-color: rgb(51 58 78 / 50%); }
.gradient { background: linear-gradient(to right, #333a4e, #3a334e); }
Similar colors
#353f51Dark & Stormy#3c4151Lava Stone#303543Total Eclipse#333344Shuriken#314159Pi#3f4250Madonna#393f4bInkblot#2e3858Mediaeval Blue
Closest common color name: Charcoal.
Questions
- What color is #333A4E?
- #333A4E is a dark, grayish blue, closest to the named color Dark & Stormy. It belongs to the blue family of colors.
- What is the RGB value of #333A4E?
- The RGB value is 51, 58, 78: 51 red, 58 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #333A4E?
- The complementary color is #4E4733, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333A4E?
- White text. Black text has a contrast ratio of 1.86:1 and white text 11.31:1. WCAG asks for at least 4.5:1 for normal text.