#342D7C color
The hex color #342D7C is a dark, desaturated blue.
In the RGB color model it is made of 20.4% red, 17.6% green and 48.6% blue (52, 45, 124).
Its hue angle is 245°, with 47% saturation and 33% lightness. For print, the CMYK equivalent is 58% cyan, 64% magenta, 0% yellow and 51% black.
The closest named color is Deep Space Rodeo (#332277), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.59:1).
#342D7C color codes
| HEX | #342D7C | |
|---|---|---|
| RGB | rgb(52, 45, 124) | |
| RGB percent | rgb(20.4%, 17.6%, 48.6%) | |
| HSL | hsl(245, 47%, 33%) | |
| HSV / HSB | hsv(245, 64%, 49%) | |
| CMYK | cmyk(58%, 64%, 0%, 51%) | |
| CIE LAB | lab(23.87, 27.12, -44.05) | |
| CIE LCH | lch(23.87, 51.73, 301.62) | |
| CIE XYZ | xyz(5.992, 4.062, 19.533) | |
| Decimal | 3419516 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342D7C, 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 #342D7C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.59:1 | Pass | Pass | Pass |
| #342D7C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.59:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #342D7C looks to people with the most common types of color vision deficiency.
#003c7fProtanopia
no red cones#00367aDeuteranopia
no green cones#104050Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #342d7c; }
.text { color: #342d7c; }
.border { border: 2px solid #342d7c; }
.transparent { background-color: rgb(52 45 124 / 50%); }
.gradient { background: linear-gradient(to right, #342d7c, #5b2d7c); }
Similar colors
#332277Deep Space Rodeo#443388Majestic Eggplant#273287Intergalactic Highway#313390Perfect Dark#2b3191Royal Night#223382Deep Space Royal#48357bGalactic Compass#3a1f76Explorer of the Galaxies
Closest common color name: Dark Slate Blue.
Questions
- What color is #342D7C?
- #342D7C is a dark, desaturated blue, closest to the named color Deep Space Rodeo. It belongs to the blue family of colors.
- What is the RGB value of #342D7C?
- The RGB value is 52, 45, 124: 52 red, 45 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #342D7C?
- The complementary color is #757C2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342D7C?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.59:1. WCAG asks for at least 4.5:1 for normal text.