#343956 color
The hex color #343956 is a dark, grayish blue.
In the RGB color model it is made of 20.4% red, 22.4% green and 33.7% blue (52, 57, 86).
Its hue angle is 231°, with 25% saturation and 27% lightness. For print, the CMYK equivalent is 40% cyan, 34% magenta, 0% yellow and 66% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.26:1).
#343956 color codes
| HEX | #343956 | |
|---|---|---|
| RGB | rgb(52, 57, 86) | |
| RGB percent | rgb(20.4%, 22.4%, 33.7%) | |
| HSL | hsl(231, 25%, 27%) | |
| HSV / HSB | hsv(231, 40%, 34%) | |
| CMYK | cmyk(40%, 34%, 0%, 66%) | |
| CIE LAB | lab(24.73, 6.11, -18.17) | |
| CIE LCH | lch(24.73, 19.17, 288.6) | |
| CIE XYZ | xyz(4.559, 4.328, 9.398) | |
| Decimal | 3422550 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343956, 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 #343956 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.26:1 | Pass | Pass | Pass |
| #343956 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.26:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #343956 looks to people with the most common types of color vision deficiency.
#303c57Protanopia
no red cones#2d3955Deuteranopia
no green cones#2a3f43Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #343956; }
.text { color: #343956; }
.border { border: 2px solid #343956; }
.transparent { background-color: rgb(52 57 86 / 50%); }
.gradient { background: linear-gradient(to right, #343956, #403456); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#3e4364Genie#2c2e47Midnight Masquerade#3d3d63Storm Is Coming#333344Shuriken#3b476bStarlit Night#273c5aNautilus
Closest common color name: Oxford Blue.
Questions
- What color is #343956?
- #343956 is a dark, grayish blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #343956?
- The RGB value is 52, 57, 86: 52 red, 57 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #343956?
- The complementary color is #565134, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343956?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.26:1. WCAG asks for at least 4.5:1 for normal text.