#31456B color
The hex color #31456B is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 27.1% green and 42% blue (49, 69, 107).
Its hue angle is 219°, with 37% saturation and 31% lightness. For print, the CMYK equivalent is 54% cyan, 36% magenta, 0% yellow and 58% black.
The closest named color is Forlorn Cruise (#34466C), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.57:1).
#31456B color codes
| HEX | #31456B | |
|---|---|---|
| RGB | rgb(49, 69, 107) | |
| RGB percent | rgb(19.2%, 27.1%, 42%) | |
| HSL | hsl(219, 37%, 31%) | |
| HSV / HSB | hsv(219, 54%, 42%) | |
| CMYK | cmyk(54%, 36%, 0%, 58%) | |
| CIE LAB | lab(29.34, 4.19, -24.53) | |
| CIE LCH | lch(29.34, 24.88, 279.7) | |
| CIE XYZ | xyz(6.048, 5.97, 14.741) | |
| Decimal | 3229035 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31456B, 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 #31456B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.19:1 | Fail | Fail | Fail |
| Sample text | 9.57:1 | Pass | Pass | Pass |
| #31456B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.57:1 | Pass | Pass | Pass |
| Sample text | 2.19: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 #31456B looks to people with the most common types of color vision deficiency.
#36486dProtanopia
no red cones#2f436aDeuteranopia
no green cones#154d53Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #31456b; }
.text { color: #31456b; }
.border { border: 2px solid #31456b; }
.transparent { background-color: rgb(49 69 107 / 50%); }
.gradient { background: linear-gradient(to right, #31456b, #3a316b); }
Similar colors
#34466cForlorn Cruise#2d4470Blue Funk#32496fMidnight Interlude#324471Space Missions#27426bNightlife#2c4364Black Turmeric#2c4170Napoleonic Blue#314a76Dragonfly
Closest common color name: Prussian Blue.
Questions
- What color is #31456B?
- #31456B is a dark, desaturated azure, closest to the named color Forlorn Cruise. It belongs to the blue family of colors.
- What is the RGB value of #31456B?
- The RGB value is 49, 69, 107: 49 red, 69 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #31456B?
- The complementary color is #6B5731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31456B?
- White text. Black text has a contrast ratio of 2.19:1 and white text 9.57:1. WCAG asks for at least 4.5:1 for normal text.