#343A47 color
The hex color #343A47 is a dark, grayish blue.
In the RGB color model it is made of 20.4% red, 22.7% green and 27.8% blue (52, 58, 71).
Its hue angle is 221°, with 15% saturation and 24% lightness. For print, the CMYK equivalent is 27% cyan, 18% magenta, 0% yellow and 72% black.
The closest named color is Inkblot (#393F4B), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.4:1).
#343A47 color codes
| HEX | #343A47 | |
|---|---|---|
| RGB | rgb(52, 58, 71) | |
| RGB percent | rgb(20.4%, 22.7%, 27.8%) | |
| HSL | hsl(221, 15%, 24%) | |
| HSV / HSB | hsv(221, 27%, 28%) | |
| CMYK | cmyk(27%, 18%, 0%, 72%) | |
| CIE LAB | lab(24.36, 0.92, -8.82) | |
| CIE LCH | lch(24.36, 8.87, 275.96) | |
| CIE XYZ | xyz(4.066, 4.211, 6.559) | |
| Decimal | 3422791 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343A47, 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 #343A47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.4:1 | Pass | Pass | Pass |
| #343A47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.4:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #343A47 looks to people with the most common types of color vision deficiency.
#363b48Protanopia
no red cones#343947Deuteranopia
no green cones#2f3d3eTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #343a47; }
.text { color: #343a47; }
.border { border: 2px solid #343a47; }
.transparent { background-color: rgb(52 58 71 / 50%); }
.gradient { background: linear-gradient(to right, #343a47, #383447); }
Similar colors
#393f4bInkblot#303543Total Eclipse#363b43Do Not Disturb#353f51Dark & Stormy#3c4151Lava Stone#3f4250Madonna#3f4551Dark Crypt#41434eMidnight Serenade
Closest common color name: Charcoal.
Questions
- What color is #343A47?
- #343A47 is a dark, grayish blue, closest to the named color Inkblot. It belongs to the gray family of colors.
- What is the RGB value of #343A47?
- The RGB value is 52, 58, 71: 52 red, 58 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #343A47?
- The complementary color is #474134, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343A47?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.4:1. WCAG asks for at least 4.5:1 for normal text.