#343046 color
The hex color #343046 is a dark, grayish violet.
In the RGB color model it is made of 20.4% red, 18.8% green and 27.5% blue (52, 48, 70).
Its hue angle is 251°, with 19% saturation and 23% lightness. For print, the CMYK equivalent is 26% cyan, 31% magenta, 0% yellow and 73% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.67:1).
#343046 color codes
| HEX | #343046 | |
|---|---|---|
| RGB | rgb(52, 48, 70) | |
| RGB percent | rgb(20.4%, 18.8%, 27.5%) | |
| HSL | hsl(251, 19%, 23%) | |
| HSV / HSB | hsv(251, 31%, 27%) | |
| CMYK | cmyk(26%, 31%, 0%, 73%) | |
| CIE LAB | lab(21.16, 7.43, -13.04) | |
| CIE LCH | lch(21.16, 15.01, 299.66) | |
| CIE XYZ | xyz(3.578, 3.286, 6.239) | |
| Decimal | 3420230 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343046, 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 #343046 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.67:1 | Pass | Pass | Pass |
| #343046 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.67:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #343046 looks to people with the most common types of color vision deficiency.
#2b3347Protanopia
no red cones#2b3245Deuteranopia
no green cones#303438Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #343046; }
.text { color: #343046; }
.border { border: 2px solid #343046; }
.transparent { background-color: rgb(52 48 70 / 50%); }
.gradient { background: linear-gradient(to right, #343046, #3f3046); }
Similar colors
#2c2e47Midnight Masquerade#333344Shuriken#3f354fMaharaja#403547Royal Decree#42364cCall It a Night#3c2f4eSanctum of Shadows#393540Professor Plum#413d4bItalian Grape
Closest common color name: Dark Purple.
Questions
- What color is #343046?
- #343046 is a dark, grayish violet, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #343046?
- The RGB value is 52, 48, 70: 52 red, 48 green and 70 blue on a 0 to 255 scale.
- What is the complementary color of #343046?
- The complementary color is #424630, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343046?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.67:1. WCAG asks for at least 4.5:1 for normal text.