#343A55 color
The hex color #343A55 is a dark, grayish blue.
In the RGB color model it is made of 20.4% red, 22.7% green and 33.3% blue (52, 58, 85).
Its hue angle is 229°, with 24% saturation and 27% lightness. For print, the CMYK equivalent is 39% cyan, 32% magenta, 0% yellow and 67% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.16:1).
#343A55 color codes
| HEX | #343A55 | |
|---|---|---|
| RGB | rgb(52, 58, 85) | |
| RGB percent | rgb(20.4%, 22.7%, 33.3%) | |
| HSL | hsl(229, 24%, 27%) | |
| HSV / HSB | hsv(229, 39%, 33%) | |
| CMYK | cmyk(39%, 32%, 0%, 67%) | |
| CIE LAB | lab(24.99, 5.12, -17.1) | |
| CIE LCH | lch(24.99, 17.85, 286.66) | |
| CIE XYZ | xyz(4.568, 4.412, 9.203) | |
| Decimal | 3422805 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343A55, 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 #343A55 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.16:1 | Pass | Pass | Pass |
| #343A55 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.16:1 | Pass | Pass | Pass |
| Sample text | 1.88: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 #343A55 looks to people with the most common types of color vision deficiency.
#313d56Protanopia
no red cones#2f3a54Deuteranopia
no green cones#2a3f44Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #343a55; }
.text { color: #343a55; }
.border { border: 2px solid #343a55; }
.transparent { background-color: rgb(52 58 85 / 50%); }
.gradient { background: linear-gradient(to right, #343a55, #3f3455); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#3e4364Genie#2c2e47Midnight Masquerade#3d3d63Storm Is Coming#333344Shuriken#314159Pi#273c5aNautilus
Closest common color name: Prussian Blue.
Questions
- What color is #343A55?
- #343A55 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 #343A55?
- The RGB value is 52, 58, 85: 52 red, 58 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #343A55?
- The complementary color is #554F34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343A55?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.16:1. WCAG asks for at least 4.5:1 for normal text.