#343050 color
The hex color #343050 is a dark, desaturated blue.
In the RGB color model it is made of 20.4% red, 18.8% green and 31.4% blue (52, 48, 80).
Its hue angle is 248°, with 25% saturation and 25% lightness. For print, the CMYK equivalent is 35% cyan, 40% magenta, 0% yellow and 69% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.47:1).
#343050 color codes
| HEX | #343050 | |
|---|---|---|
| RGB | rgb(52, 48, 80) | |
| RGB percent | rgb(20.4%, 18.8%, 31.4%) | |
| HSL | hsl(248, 25%, 25%) | |
| HSV / HSB | hsv(248, 40%, 31%) | |
| CMYK | cmyk(35%, 40%, 0%, 69%) | |
| CIE LAB | lab(21.66, 10.41, -18.98) | |
| CIE LCH | lch(21.66, 21.65, 298.76) | |
| CIE XYZ | xyz(3.921, 3.423, 8.042) | |
| Decimal | 3420240 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343050, 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 #343050 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.47:1 | Pass | Pass | Pass |
| #343050 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.47:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #343050 looks to people with the most common types of color vision deficiency.
#273551Protanopia
no red cones#26334fDeuteranopia
no green cones#2d363cTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #343050; }
.text { color: #343050; }
.border { border: 2px solid #343050; }
.transparent { background-color: rgb(52 48 80 / 50%); }
.gradient { background: linear-gradient(to right, #343050, #443050); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#322c56Purple Noir#3f354fMaharaja#2c2e47Midnight Masquerade#2c2c57Deep Sea Base#2a2243Midnight Velvet#2b3458Midnight Escapade
Closest common color name: Dark Purple.
Questions
- What color is #343050?
- #343050 is a dark, desaturated blue, closest to the named color Midnight Pie. It belongs to the blue family of colors.
- What is the RGB value of #343050?
- The RGB value is 52, 48, 80: 52 red, 48 green and 80 blue on a 0 to 255 scale.
- What is the complementary color of #343050?
- The complementary color is #4C5030, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343050?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.47:1. WCAG asks for at least 4.5:1 for normal text.