#343F5C color
The hex color #343F5C is a dark, desaturated blue.
In the RGB color model it is made of 20.4% red, 24.7% green and 36.1% blue (52, 63, 92).
Its hue angle is 224°, with 28% saturation and 28% lightness. For print, the CMYK equivalent is 43% cyan, 32% magenta, 0% yellow and 64% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.44:1).
#343F5C color codes
| HEX | #343F5C | |
|---|---|---|
| RGB | rgb(52, 63, 92) | |
| RGB percent | rgb(20.4%, 24.7%, 36.1%) | |
| HSL | hsl(224, 28%, 28%) | |
| HSV / HSB | hsv(224, 43%, 36%) | |
| CMYK | cmyk(43%, 32%, 0%, 64%) | |
| CIE LAB | lab(26.9, 3.99, -18.7) | |
| CIE LCH | lch(26.9, 19.12, 282.04) | |
| CIE XYZ | xyz(5.125, 5.058, 10.829) | |
| Decimal | 3424092 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343F5C, 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 #343F5C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.44:1 | Pass | Pass | Pass |
| #343F5C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.44:1 | Pass | Pass | Pass |
| Sample text | 2.01: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 #343F5C looks to people with the most common types of color vision deficiency.
#35415dProtanopia
no red cones#313e5bDeuteranopia
no green cones#274549Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #343f5c; }
.text { color: #343f5c; }
.border { border: 2px solid #343f5c; }
.transparent { background-color: rgb(52 63 92 / 50%); }
.gradient { background: linear-gradient(to right, #343f5c, #3d345c); }
Similar colors
#2e3858Mediaeval Blue#3a4866Bonne Nuit#3e4364Genie#314159Pi#3b476bStarlit Night#273c5aNautilus#34466cForlorn Cruise#2c4364Black Turmeric
Closest common color name: Prussian Blue.
Questions
- What color is #343F5C?
- #343F5C is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #343F5C?
- The RGB value is 52, 63, 92: 52 red, 63 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #343F5C?
- The complementary color is #5C5134, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343F5C?
- White text. Black text has a contrast ratio of 2.01:1 and white text 10.44:1. WCAG asks for at least 4.5:1 for normal text.