#343857 color
The hex color #343857 is a dark, desaturated blue.
In the RGB color model it is made of 20.4% red, 22% green and 34.1% blue (52, 56, 87).
Its hue angle is 233°, with 25% saturation and 27% lightness. For print, the CMYK equivalent is 40% cyan, 36% magenta, 0% yellow and 66% 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.36:1).
#343857 color codes
| HEX | #343857 | |
|---|---|---|
| RGB | rgb(52, 56, 87) | |
| RGB percent | rgb(20.4%, 22%, 34.1%) | |
| HSL | hsl(233, 25%, 27%) | |
| HSV / HSB | hsv(233, 40%, 34%) | |
| CMYK | cmyk(40%, 36%, 0%, 66%) | |
| CIE LAB | lab(24.47, 7.11, -19.22) | |
| CIE LCH | lch(24.47, 20.5, 290.3) | |
| CIE XYZ | xyz(4.55, 4.246, 9.595) | |
| Decimal | 3422295 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343857, 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 #343857 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.85:1 | Fail | Fail | Fail |
| Sample text | 11.36:1 | Pass | Pass | Pass |
| #343857 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.36:1 | Pass | Pass | Pass |
| Sample text | 1.85: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 #343857 looks to people with the most common types of color vision deficiency.
#2e3c58Protanopia
no red cones#2c3956Deuteranopia
no green cones#2a3e43Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #343857; }
.text { color: #343857; }
.border { border: 2px solid #343857; }
.transparent { background-color: rgb(52 56 87 / 50%); }
.gradient { background: linear-gradient(to right, #343857, #423457); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#3d3d63Storm Is Coming#3e4364Genie#2c2e47Midnight Masquerade#2e305eGalaxea#2c2c57Deep Sea Base#322c56Purple Noir
Closest common color name: Oxford Blue.
Questions
- What color is #343857?
- #343857 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 #343857?
- The RGB value is 52, 56, 87: 52 red, 56 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #343857?
- The complementary color is #575334, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343857?
- White text. Black text has a contrast ratio of 1.85:1 and white text 11.36:1. WCAG asks for at least 4.5:1 for normal text.