#325171 color
The hex color #325171 is a dark, desaturated azure.
In the RGB color model it is made of 19.6% red, 31.8% green and 44.3% blue (50, 81, 113).
Its hue angle is 210°, with 39% saturation and 32% lightness. For print, the CMYK equivalent is 56% cyan, 28% magenta, 0% yellow and 56% black.
The closest named color is Slumber (#2D517C), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.23:1).
#325171 color codes
| HEX | #325171 | |
|---|---|---|
| RGB | rgb(50, 81, 113) | |
| RGB percent | rgb(19.6%, 31.8%, 44.3%) | |
| HSL | hsl(210, 39%, 32%) | |
| HSV / HSB | hsv(210, 56%, 44%) | |
| CMYK | cmyk(56%, 28%, 0%, 56%) | |
| CIE LAB | lab(33.47, -1.29, -21.84) | |
| CIE LCH | lch(33.47, 21.88, 266.62) | |
| CIE XYZ | xyz(7.237, 7.755, 16.735) | |
| Decimal | 3297649 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #325171, 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 #325171 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.23:1 | Pass | Pass | Pass |
| #325171 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.23:1 | Pass | Pass | Pass |
| Sample text | 2.55: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 #325171 looks to people with the most common types of color vision deficiency.
#445272Protanopia
no red cones#3c4c70Deuteranopia
no green cones#0e585cTritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #325171; }
.text { color: #325171; }
.border { border: 2px solid #325171; }
.transparent { background-color: rgb(50 81 113 / 50%); }
.gradient { background: linear-gradient(to right, #325171, #323271); }
Similar colors
#2d517cSlumber#324c64Bluedgeons#39527dSt. Tropaz#2255773AM in Shibuya#254770Pretty Twilight Night#314e64Outer Space#384b6bNaval Blue#32496fMidnight Interlude
Closest common color name: Charcoal.
Questions
- What color is #325171?
- #325171 is a dark, desaturated azure, closest to the named color Slumber. It belongs to the blue family of colors.
- What is the RGB value of #325171?
- The RGB value is 50, 81, 113: 50 red, 81 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #325171?
- The complementary color is #715232, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #325171?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.23:1. WCAG asks for at least 4.5:1 for normal text.