#31527F color
The hex color #31527F is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 32.2% green and 49.8% blue (49, 82, 127).
Its hue angle is 215°, with 44% saturation and 35% lightness. For print, the CMYK equivalent is 61% cyan, 35% magenta, 0% yellow and 50% black.
The closest named color is Galaxy Blue (#2D5284), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.94:1).
#31527F color codes
| HEX | #31527F | |
|---|---|---|
| RGB | rgb(49, 82, 127) | |
| RGB percent | rgb(19.2%, 32.2%, 49.8%) | |
| HSL | hsl(215, 44%, 35%) | |
| HSV / HSB | hsv(215, 61%, 50%) | |
| CMYK | cmyk(61%, 35%, 0%, 50%) | |
| CIE LAB | lab(34.44, 2.76, -29.02) | |
| CIE LCH | lch(34.44, 29.15, 275.43) | |
| CIE XYZ | xyz(8.113, 8.219, 21.233) | |
| Decimal | 3232383 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31527F, 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 #31527F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.94:1 | Pass | Pass | Pass |
| #31527F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.94:1 | Pass | Pass | Pass |
| Sample text | 2.64: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 #31527F looks to people with the most common types of color vision deficiency.
#3f5581Protanopia
no red cones#354e7eDeuteranopia
no green cones#005c62Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #31527f; }
.text { color: #31527f; }
.border { border: 2px solid #31527f; }
.transparent { background-color: rgb(49 82 127 / 50%); }
.gradient { background: linear-gradient(to right, #31527f, #37317f); }
Similar colors
#2d5284Galaxy Blue#2d517cSlumber#2d4f83Assassin#335588Glimpse of Void#39527dSt. Tropaz#234e86Night Mode#2e5090Nightly Activities#2e4a7dNautical
Closest common color name: Cobalt Blue.
Questions
- What color is #31527F?
- #31527F is a dark, desaturated azure, closest to the named color Galaxy Blue. It belongs to the blue family of colors.
- What is the RGB value of #31527F?
- The RGB value is 49, 82, 127: 49 red, 82 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #31527F?
- The complementary color is #7F5E31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31527F?
- White text. Black text has a contrast ratio of 2.64:1 and white text 7.94:1. WCAG asks for at least 4.5:1 for normal text.