Night Shift color: hex code #2A5C6A

#2A5C6A rgb(42, 92, 106)
Shades of teal

Night Shift has the hex code #2A5C6A. It is a dark, desaturated cyan.

In the RGB color model it is made of 16.5% red, 36.1% green and 41.6% blue (42, 92, 106).

Its hue angle is 193°, with 43% saturation and 29% lightness. For print, the CMYK equivalent is 60% cyan, 13% magenta, 0% yellow and 58% black.

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

Night Shift (#2A5C6A) color codes

HEX#2A5C6A
RGBrgb(42, 92, 106)
RGB percentrgb(16.5%, 36.1%, 41.6%)
HSLhsl(193, 43%, 29%)
HSV / HSBhsv(193, 60%, 42%)
CMYKcmyk(60%, 13%, 0%, 58%)
CIE LABlab(36.34, -12.27, -13.09)
CIE LCHlch(36.34, 17.94, 226.84)
CIE XYZxyz(7.382, 9.186, 15.017)
Decimal2776170
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Night Shift, 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 #2A5C6ARatioAAAAAAA large
Sample text2.84:1FailFailFail
Sample text7.4:1PassPassPass
#2A5C6A as text onRatioAAAAAAA large
Sample text7.4:1PassPassPass
Sample text2.84: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 #2A5C6A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2a5c6a; }
.text { color: #2a5c6a; }
.border { border: 2px solid #2a5c6a; }
.transparent { background-color: rgb(42 92 106 / 50%); }
.gradient { background: linear-gradient(to right, #2a5c6a, #2a3c6a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Gray.

See #2A5C6A on its hex code page

Questions

What color is #2A5C6A?
#2A5C6A is a dark, desaturated cyan known as Night Shift. It belongs to the teal family of colors.
What is the RGB value of Night Shift?
The RGB value is 42, 92, 106: 42 red, 92 green and 106 blue on a 0 to 255 scale.
What is the complementary color of Night Shift?
The complementary color is #6A382A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2A5C6A?
White text. Black text has a contrast ratio of 2.84:1 and white text 7.4:1. WCAG asks for at least 4.5:1 for normal text.