#31486A color
The hex color #31486A is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 28.2% green and 41.6% blue (49, 72, 106).
Its hue angle is 216°, with 37% saturation and 30% lightness. For print, the CMYK equivalent is 54% cyan, 32% magenta, 0% yellow and 58% black.
The closest named color is Midnight Interlude (#32496F), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.27:1).
#31486A color codes
| HEX | #31486A | |
|---|---|---|
| RGB | rgb(49, 72, 106) | |
| RGB percent | rgb(19.2%, 28.2%, 41.6%) | |
| HSL | hsl(216, 37%, 30%) | |
| HSV / HSB | hsv(216, 54%, 42%) | |
| CMYK | cmyk(54%, 32%, 0%, 58%) | |
| CIE LAB | lab(30.22, 1.86, -22.5) | |
| CIE LCH | lch(30.22, 22.58, 274.73) | |
| CIE XYZ | xyz(6.185, 6.328, 14.528) | |
| Decimal | 3229802 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31486A, 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 #31486A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.27:1 | Pass | Pass | Pass |
| #31486A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.27:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #31486A looks to people with the most common types of color vision deficiency.
#3b4a6bProtanopia
no red cones#344569Deuteranopia
no green cones#164f54Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #31486a; }
.text { color: #31486a; }
.border { border: 2px solid #31486a; }
.transparent { background-color: rgb(49 72 106 / 50%); }
.gradient { background: linear-gradient(to right, #31486a, #37316a); }
Similar colors
#32496fMidnight Interlude#384b6bNaval Blue#2c4364Black Turmeric#314662Stay the Night#34466cForlorn Cruise#314a76Dragonfly#254770Pretty Twilight Night#27426bNightlife
Closest common color name: Prussian Blue.
Questions
- What color is #31486A?
- #31486A is a dark, desaturated azure, closest to the named color Midnight Interlude. It belongs to the blue family of colors.
- What is the RGB value of #31486A?
- The RGB value is 49, 72, 106: 49 red, 72 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #31486A?
- The complementary color is #6A5331, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31486A?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.27:1. WCAG asks for at least 4.5:1 for normal text.