#31546A color
The hex color #31546A is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 32.9% green and 41.6% blue (49, 84, 106).
Its hue angle is 203°, with 37% saturation and 30% lightness. For print, the CMYK equivalent is 54% cyan, 21% magenta, 0% yellow and 58% black.
The closest named color is Outer Space (#314E64), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.06:1).
#31546A color codes
| HEX | #31546A | |
|---|---|---|
| RGB | rgb(49, 84, 106) | |
| RGB percent | rgb(19.2%, 32.9%, 41.6%) | |
| HSL | hsl(203, 37%, 30%) | |
| HSV / HSB | hsv(203, 54%, 42%) | |
| CMYK | cmyk(54%, 21%, 0%, 58%) | |
| CIE LAB | lab(34.05, -5.79, -16.56) | |
| CIE LCH | lch(34.05, 17.55, 250.74) | |
| CIE XYZ | xyz(7.038, 8.034, 14.813) | |
| Decimal | 3232874 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31546A, 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 #31546A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.61:1 | Fail | Fail | Fail |
| Sample text | 8.06:1 | Pass | Pass | Pass |
| #31546A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.06:1 | Pass | Pass | Pass |
| Sample text | 2.61: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 #31546A looks to people with the most common types of color vision deficiency.
#4a536bProtanopia
no red cones#424d6aDeuteranopia
no green cones#125a5bTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #31546a; }
.text { color: #31546a; }
.border { border: 2px solid #31546a; }
.transparent { background-color: rgb(49 84 106 / 50%); }
.gradient { background: linear-gradient(to right, #31546a, #31386a); }
Similar colors
#314e64Outer Space#2a4f61Shadow of Night#255367Juggernaut#204d68Seafarer#3e5361Dark Secret#295c7aNautical Creatures#37525fMoonlit Sonata#2255773AM in Shibuya
Closest common color name: Charcoal.
Questions
- What color is #31546A?
- #31546A is a dark, desaturated azure, closest to the named color Outer Space. It belongs to the blue family of colors.
- What is the RGB value of #31546A?
- The RGB value is 49, 84, 106: 49 red, 84 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #31546A?
- The complementary color is #6A4731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31546A?
- White text. Black text has a contrast ratio of 2.61:1 and white text 8.06:1. WCAG asks for at least 4.5:1 for normal text.