Stay the Night color: hex code #314662

#314662 rgb(49, 70, 98)
Shades of blue

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
RGBrgb(49, 70, 98)
RGB percentrgb(19.2%, 27.5%, 38.4%)
HSLhsl(214, 33%, 29%)
HSV / HSBhsv(214, 50%, 38%)
CMYKcmyk(50%, 29%, 0%, 62%)
CIE LABlab(29.2, 0.45, -19.01)
CIE LCHlch(29.2, 19.01, 271.35)
CIE XYZxyz(5.661, 5.915, 12.396)
Decimal3229282
Short hexNone (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 #314662RatioAAAAAAA large
Sample text2.18:1FailFailFail
Sample text9.62:1PassPassPass
#314662 as text onRatioAAAAAAA large
Sample text9.62:1PassPassPass
Sample text2.18:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.