#345187 color
The hex color #345187 is a dark, desaturated azure.
In the RGB color model it is made of 20.4% red, 31.8% green and 52.9% blue (52, 81, 135).
Its hue angle is 219°, with 44% saturation and 37% lightness. For print, the CMYK equivalent is 61% cyan, 40% magenta, 0% yellow and 47% black.
The closest named color is Assassin (#2D4F83), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.86:1).
#345187 color codes
| HEX | #345187 | |
|---|---|---|
| RGB | rgb(52, 81, 135) | |
| RGB percent | rgb(20.4%, 31.8%, 52.9%) | |
| HSL | hsl(219, 44%, 37%) | |
| HSV / HSB | hsv(219, 61%, 53%) | |
| CMYK | cmyk(61%, 40%, 0%, 47%) | |
| CIE LAB | lab(34.73, 6.94, -33.47) | |
| CIE LCH | lch(34.73, 34.18, 281.71) | |
| CIE XYZ | xyz(8.73, 8.363, 24.071) | |
| Decimal | 3428743 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #345187, 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 #345187 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.86:1 | Pass | Pass | Pass |
| #345187 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.86:1 | Pass | Pass | Pass |
| Sample text | 2.67: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 #345187 looks to people with the most common types of color vision deficiency.
#3a5689Protanopia
no red cones#2f4e86Deuteranopia
no green cones#005d65Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #345187; }
.text { color: #345187; }
.border { border: 2px solid #345187; }
.transparent { background-color: rgb(52 81 135 / 50%); }
.gradient { background: linear-gradient(to right, #345187, #413487); }
Similar colors
#2d4f83Assassin#2e5090Nightly Activities#335588Glimpse of Void#2d5284Galaxy Blue#39527dSt. Tropaz#2e4a7dNautical#234e86Night Mode#244e94Le Grand Bleu
Closest common color name: Cobalt Blue.
Questions
- What color is #345187?
- #345187 is a dark, desaturated azure, closest to the named color Assassin. It belongs to the blue family of colors.
- What is the RGB value of #345187?
- The RGB value is 52, 81, 135: 52 red, 81 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #345187?
- The complementary color is #876A34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #345187?
- White text. Black text has a contrast ratio of 2.67:1 and white text 7.86:1. WCAG asks for at least 4.5:1 for normal text.