#31528A color
The hex color #31528A is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 32.2% green and 54.1% blue (49, 82, 138).
Its hue angle is 218°, with 48% saturation and 37% lightness. For print, the CMYK equivalent is 64% cyan, 41% magenta, 0% yellow and 46% black.
The closest named color is Nightly Activities (#2E5090), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.76:1).
#31528A color codes
| HEX | #31528A | |
|---|---|---|
| RGB | rgb(49, 82, 138) | |
| RGB percent | rgb(19.2%, 32.2%, 54.1%) | |
| HSL | hsl(218, 48%, 37%) | |
| HSV / HSB | hsv(218, 64%, 54%) | |
| CMYK | cmyk(64%, 41%, 0%, 46%) | |
| CIE LAB | lab(35.05, 6.76, -34.81) | |
| CIE LCH | lch(35.05, 35.46, 281) | |
| CIE XYZ | xyz(8.87, 8.522, 25.217) | |
| Decimal | 3232394 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31528A, 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 #31528A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.76:1 | Pass | Pass | Pass |
| #31528A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.76:1 | Pass | Pass | Pass |
| Sample text | 2.7: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 #31528A looks to people with the most common types of color vision deficiency.
#39578cProtanopia
no red cones#2d4f89Deuteranopia
no green cones#005f67Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #31528a; }
.text { color: #31528a; }
.border { border: 2px solid #31528a; }
.transparent { background-color: rgb(49 82 138 / 50%); }
.gradient { background: linear-gradient(to right, #31528a, #3d318a); }
Similar colors
#2e5090Nightly Activities#335588Glimpse of Void#2d4f83Assassin#2d5284Galaxy Blue#244e94Le Grand Bleu#234e86Night Mode#39527dSt. Tropaz#2d517cSlumber
Closest common color name: Cobalt Blue.
Questions
- What color is #31528A?
- #31528A is a dark, desaturated azure, closest to the named color Nightly Activities. It belongs to the blue family of colors.
- What is the RGB value of #31528A?
- The RGB value is 49, 82, 138: 49 red, 82 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #31528A?
- The complementary color is #8A6931, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31528A?
- White text. Black text has a contrast ratio of 2.7:1 and white text 7.76:1. WCAG asks for at least 4.5:1 for normal text.