#343771 color
The hex color #343771 is a dark, desaturated blue.
In the RGB color model it is made of 20.4% red, 21.6% green and 44.3% blue (52, 55, 113).
Its hue angle is 237°, with 37% saturation and 32% lightness. For print, the CMYK equivalent is 54% cyan, 51% magenta, 0% yellow and 56% black.
The closest named color is Good Karma (#333C76), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.88:1).
#343771 color codes
| HEX | #343771 | |
|---|---|---|
| RGB | rgb(52, 55, 113) | |
| RGB percent | rgb(20.4%, 21.6%, 44.3%) | |
| HSL | hsl(237, 37%, 32%) | |
| HSV / HSB | hsv(237, 54%, 44%) | |
| CMYK | cmyk(54%, 51%, 0%, 56%) | |
| CIE LAB | lab(25.73, 16.56, -34.07) | |
| CIE LCH | lch(25.73, 37.88, 295.93) | |
| CIE XYZ | xyz(5.762, 4.654, 16.214) | |
| Decimal | 3422065 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #343771, 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 #343771 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.93:1 | Fail | Fail | Fail |
| Sample text | 10.88:1 | Pass | Pass | Pass |
| #343771 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.88:1 | Pass | Pass | Pass |
| Sample text | 1.93: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 #343771 looks to people with the most common types of color vision deficiency.
#1c3f73Protanopia
no red cones#163b70Deuteranopia
no green cones#1b444eTritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #343771; }
.text { color: #343771; }
.border { border: 2px solid #343771; }
.transparent { background-color: rgb(52 55 113 / 50%); }
.gradient { background: linear-gradient(to right, #343771, #4f3471); }
Similar colors
#333c76Good Karma#363e7dEvening Magic#2e305eGalaxea#1c3378Twilight Express#1c2e63Mythical Night#3d4585Queen of the Night Shift#2c4170Napoleonic Blue#48357bGalactic Compass
Closest common color name: Dark Slate Blue.
Questions
- What color is #343771?
- #343771 is a dark, desaturated blue, closest to the named color Good Karma. It belongs to the blue family of colors.
- What is the RGB value of #343771?
- The RGB value is 52, 55, 113: 52 red, 55 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #343771?
- The complementary color is #716E34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #343771?
- White text. Black text has a contrast ratio of 1.93:1 and white text 10.88:1. WCAG asks for at least 4.5:1 for normal text.