#34405D color
The hex color #34405D is a dark, desaturated blue.
In the RGB color model it is made of 20.4% red, 25.1% green and 36.5% blue (52, 64, 93).
Its hue angle is 222°, with 28% saturation and 28% lightness. For print, the CMYK equivalent is 44% cyan, 31% magenta, 0% yellow and 64% black.
The closest named color is Bonne Nuit (#3A4866), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.31:1).
#34405D color codes
| HEX | #34405D | |
|---|---|---|
| RGB | rgb(52, 64, 93) | |
| RGB percent | rgb(20.4%, 25.1%, 36.5%) | |
| HSL | hsl(222, 28%, 28%) | |
| HSV / HSB | hsv(222, 44%, 36%) | |
| CMYK | cmyk(44%, 31%, 0%, 64%) | |
| CIE LAB | lab(27.26, 3.64, -18.79) | |
| CIE LCH | lch(27.26, 19.14, 280.98) | |
| CIE XYZ | xyz(5.225, 5.187, 11.08) | |
| Decimal | 3424349 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34405D, 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 #34405D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.31:1 | Pass | Pass | Pass |
| #34405D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.31:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #34405D looks to people with the most common types of color vision deficiency.
#36425eProtanopia
no red cones#323f5cDeuteranopia
no green cones#26464aTritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #34405d; }
.text { color: #34405d; }
.border { border: 2px solid #34405d; }
.transparent { background-color: rgb(52 64 93 / 50%); }
.gradient { background: linear-gradient(to right, #34405d, #3d345d); }
Similar colors
#3a4866Bonne Nuit#2e3858Mediaeval Blue#314159Pi#3b476bStarlit Night#273c5aNautilus#2c4364Black Turmeric#34466cForlorn Cruise#3e4364Genie
Closest common color name: Prussian Blue.
Questions
- What color is #34405D?
- #34405D is a dark, desaturated blue, closest to the named color Bonne Nuit. It belongs to the blue family of colors.
- What is the RGB value of #34405D?
- The RGB value is 52, 64, 93: 52 red, 64 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #34405D?
- The complementary color is #5D5134, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34405D?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.31:1. WCAG asks for at least 4.5:1 for normal text.