#340D23 color
The hex color #340D23 is a very dark, moderate rose.
In the RGB color model it is made of 20.4% red, 5.1% green and 13.7% blue (52, 13, 35).
Its hue angle is 326°, with 60% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 75% magenta, 33% yellow and 80% black.
The closest named color is Blackberry (#43182F), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.1:1).
#340D23 color codes
| HEX | #340D23 | |
|---|---|---|
| RGB | rgb(52, 13, 35) | |
| RGB percent | rgb(20.4%, 5.1%, 13.7%) | |
| HSL | hsl(326, 60%, 13%) | |
| HSV / HSB | hsv(326, 75%, 20%) | |
| CMYK | cmyk(0%, 75%, 33%, 80%) | |
| CIE LAB | lab(10.1, 22.31, -5.1) | |
| CIE LCH | lch(10.1, 22.89, 347.14) | |
| CIE XYZ | xyz(1.864, 1.139, 1.712) | |
| Decimal | 3411235 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #340D23, 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 #340D23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.1:1 | Pass | Pass | Pass |
| #340D23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.1:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #340D23 looks to people with the most common types of color vision deficiency.
#121724Protanopia
no red cones#1d1e22Deuteranopia
no green cones#380c16Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #340d23; }
.text { color: #340d23; }
.border { border: 2px solid #340d23; }
.transparent { background-color: rgb(52 13 35 / 50%); }
.gradient { background: linear-gradient(to right, #340d23, #340d0f); }
Similar colors
#43182fBlackberry#391531Nightly Voyager#330022Vienna Roast#3c1421Chocolate Kiss#3e1825Black-Hearted#3f012cDark Sanctuary#441122What We Do in the Shadows#220011Belladonna
Closest common color name: Dark Purple.
Questions
- What color is #340D23?
- #340D23 is a very dark, moderate rose, closest to the named color Blackberry. It belongs to the black family of colors.
- What is the RGB value of #340D23?
- The RGB value is 52, 13, 35: 52 red, 13 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #340D23?
- The complementary color is #0D341E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #340D23?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.1:1. WCAG asks for at least 4.5:1 for normal text.