#33334F color
The hex color #33334F is a dark, grayish blue.
In the RGB color model it is made of 20% red, 20% green and 31% blue (51, 51, 79).
Its hue angle is 240°, with 22% saturation and 25% lightness. For print, the CMYK equivalent is 35% cyan, 35% magenta, 0% yellow and 69% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.16:1).
#33334F color codes
| HEX | #33334F | |
|---|---|---|
| RGB | rgb(51, 51, 79) | |
| RGB percent | rgb(20%, 20%, 31%) | |
| HSL | hsl(240, 22%, 25%) | |
| HSV / HSB | hsv(240, 35%, 31%) | |
| CMYK | cmyk(35%, 35%, 0%, 69%) | |
| CIE LAB | lab(22.43, 7.69, -17.12) | |
| CIE LCH | lch(22.43, 18.77, 294.2) | |
| CIE XYZ | xyz(3.96, 3.636, 7.889) | |
| Decimal | 3355471 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #33334F, 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 #33334F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.16:1 | Pass | Pass | Pass |
| #33334F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.16:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #33334F looks to people with the most common types of color vision deficiency.
#2b3750Protanopia
no red cones#2a354eDeuteranopia
no green cones#2c383dTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #33334f; }
.text { color: #33334f; }
.border { border: 2px solid #33334f; }
.transparent { background-color: rgb(51 51 79 / 50%); }
.gradient { background: linear-gradient(to right, #33334f, #41334f); }
Similar colors
#2c2e47Midnight Masquerade#2b3458Midnight Escapade#2e3858Mediaeval Blue#3f354fMaharaja#333344Shuriken#3d3d63Storm Is Coming#372d52Midnight Pie#3c2f4eSanctum of Shadows
Closest common color name: Oxford Blue.
Questions
- What color is #33334F?
- #33334F is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #33334F?
- The RGB value is 51, 51, 79: 51 red, 51 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #33334F?
- The complementary color is #4F4F33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #33334F?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.16:1. WCAG asks for at least 4.5:1 for normal text.