Stay the Night color: hex code #314662
Stay the Night has the hex code #314662. It is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 27.5% green and 38.4% blue (49, 70, 98).
Its hue angle is 214°, with 33% saturation and 29% lightness. For print, the CMYK equivalent is 50% cyan, 29% magenta, 0% yellow and 62% black.
White text is the more readable choice on this background (contrast 9.62:1).
Stay the Night (#314662) color codes
| HEX | #314662 | |
|---|---|---|
| RGB | rgb(49, 70, 98) | |
| RGB percent | rgb(19.2%, 27.5%, 38.4%) | |
| HSL | hsl(214, 33%, 29%) | |
| HSV / HSB | hsv(214, 50%, 38%) | |
| CMYK | cmyk(50%, 29%, 0%, 62%) | |
| CIE LAB | lab(29.2, 0.45, -19.01) | |
| CIE LCH | lch(29.2, 19.01, 271.35) | |
| CIE XYZ | xyz(5.661, 5.915, 12.396) | |
| Decimal | 3229282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Stay the Night, 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 #314662 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.62:1 | Pass | Pass | Pass |
| #314662 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.62:1 | Pass | Pass | Pass |
| Sample text | 2.18: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 #314662 looks to people with the most common types of color vision deficiency.
#3b4763Protanopia
no red cones#354361Deuteranopia
no green cones#1d4c50Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #314662; }
.text { color: #314662; }
.border { border: 2px solid #314662; }
.transparent { background-color: rgb(49 70 98 / 50%); }
.gradient { background: linear-gradient(to right, #314662, #343162); }
Similar colors
#2c4364Black Turmeric#3a4a63Silent Sea#314159Pi#384b6bNaval Blue#3a4866Bonne Nuit#32496fMidnight Interlude#273c5aNautilus#324c64Bluedgeons
Closest common color name: Prussian Blue.
See #314662 on its hex code page
Questions
- What color is #314662?
- #314662 is a dark, desaturated azure known as Stay the Night. It belongs to the blue family of colors.
- What is the RGB value of Stay the Night?
- The RGB value is 49, 70, 98: 49 red, 70 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of Stay the Night?
- The complementary color is #624D31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #314662?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.62:1. WCAG asks for at least 4.5:1 for normal text.