#342F6C color
The hex color #342F6C is a dark, desaturated blue.
In the RGB color model it is made of 20.4% red, 18.4% green and 42.4% blue (52, 47, 108).
Its hue angle is 245°, with 39% saturation and 30% lightness. For print, the CMYK equivalent is 52% cyan, 56% magenta, 0% yellow and 58% black.
The closest named color is Indie Go (#2E2364), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.87:1).
#342F6C color codes
| HEX | #342F6C | |
|---|---|---|
| RGB | rgb(52, 47, 108) | |
| RGB percent | rgb(20.4%, 18.4%, 42.4%) | |
| HSL | hsl(245, 39%, 30%) | |
| HSV / HSB | hsv(245, 56%, 42%) | |
| CMYK | cmyk(52%, 56%, 0%, 58%) | |
| CIE LAB | lab(23.15, 20.3, -34.99) | |
| CIE LCH | lch(23.15, 40.45, 300.11) | |
| CIE XYZ | xyz(5.139, 3.846, 14.656) | |
| Decimal | 3420012 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342F6C, 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 #342F6C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.87:1 | Pass | Pass | Pass |
| #342F6C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.87:1 | Pass | Pass | Pass |
| Sample text | 1.77: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 #342F6C looks to people with the most common types of color vision deficiency.
#0e396eProtanopia
no red cones#0a356bDeuteranopia
no green cones#203c48Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #342f6c; }
.text { color: #342f6c; }
.border { border: 2px solid #342f6c; }
.transparent { background-color: rgb(52 47 108 / 50%); }
.gradient { background: linear-gradient(to right, #342f6c, #532f6c); }
Similar colors
#2e2364Indie Go#2e305eGalaxea#432e6fHer Highness#332266Dark Dreams#222266Intergalactic Cowboy#48357bGalactic Compass#2c2c57Deep Sea Base#333c76Good Karma
Closest common color name: Dark Slate Blue.
Questions
- What color is #342F6C?
- #342F6C is a dark, desaturated blue, closest to the named color Indie Go. It belongs to the blue family of colors.
- What is the RGB value of #342F6C?
- The RGB value is 52, 47, 108: 52 red, 47 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #342F6C?
- The complementary color is #676C2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342F6C?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.87:1. WCAG asks for at least 4.5:1 for normal text.