Huebook

Night Shift

Night Shift is a dark, moderately saturated cyan color with the hex code #2A5C6A (hue 193°, saturation 43%, lightness 29%).

#2A5C6A
NameHEXRGBHSLCMYKOKLCH
Night Shift#2A5C6A42, 92, 106193°, 43%, 29%60, 13, 0, 5844.6% 0.058 219

Contrast with white text 7.40:1, with black text 2.84:1 — use white text on Night Shift.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Night Shift

Move the sliders to make Night Shift lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Night Shift
  • HEX#2A5C6A
  • RGBrgb(42 92 106)
  • HSLhsl(193 43% 29%)

Variations of Night Shift

Text on Night Shift

White textThe quick brown fox7.40:1 · AA pass · AAA pass
Black textThe quick brown fox2.84:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Night Shift with color blindness

Normal #2A5C6A
Protanopia #535A6B
Deuteranopia #4A526A
Tritanopia #006160

How Night Shift appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#DAECF1
#A4CFDB
#6DB2C5
#418FA4
#2B5F6E
#163037

Colors that go with Night Shift

Six color schemes built on Night Shift with classic harmony rules. The complementary scheme pairs it with In Caffeine We Trust (#693C2A), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark teal colors

Questions

What is the hex code for Night Shift?

#2A5C6A — RGB 42, 92, 106, HSL 193°, 43%, 29%.

Is Night Shift a warm or cool color?

Cool — its hue sits at 193° on the color wheel.