Shadow of Night color: hex code #2A4F61

#2A4F61 rgb(42, 79, 97)
Shades of blue

Shadow of Night has the hex code #2A4F61. It is a dark, desaturated azure.

In the RGB color model it is made of 16.5% red, 31% green and 38% blue (42, 79, 97).

Its hue angle is 200°, with 40% saturation and 27% lightness. For print, the CMYK equivalent is 57% cyan, 19% magenta, 0% yellow and 62% black.

White text is the more readable choice on this background (contrast 8.79:1).

Shadow of Night (#2A4F61) color codes

HEX#2A4F61
RGBrgb(42, 79, 97)
RGB percentrgb(16.5%, 31%, 38%)
HSLhsl(200, 40%, 27%)
HSV / HSBhsv(200, 57%, 38%)
CMYKcmyk(57%, 19%, 0%, 62%)
CIE LABlab(31.69, -7.48, -14.56)
CIE LCHlch(31.69, 16.37, 242.81)
CIE XYZxyz(5.908, 6.947, 12.336)
Decimal2772833
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Shadow of 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 #2A4F61RatioAAAAAAA large
Sample text2.39:1FailFailFail
Sample text8.79:1PassPassPass
#2A4F61 as text onRatioAAAAAAA large
Sample text8.79:1PassPassPass
Sample text2.39: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 #2A4F61 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2a4f61; }
.text { color: #2a4f61; }
.border { border: 2px solid #2a4f61; }
.transparent { background-color: rgb(42 79 97 / 50%); }
.gradient { background: linear-gradient(to right, #2a4f61, #2a3461); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

See #2A4F61 on its hex code page

Questions

What color is #2A4F61?
#2A4F61 is a dark, desaturated azure known as Shadow of Night. It belongs to the blue family of colors.
What is the RGB value of Shadow of Night?
The RGB value is 42, 79, 97: 42 red, 79 green and 97 blue on a 0 to 255 scale.
What is the complementary color of Shadow of Night?
The complementary color is #613C2A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2A4F61?
White text. Black text has a contrast ratio of 2.39:1 and white text 8.79:1. WCAG asks for at least 4.5:1 for normal text.