Huebook

Twilight

Twilight is a dark, muted blue color with the hex code #4E518B (hue 237°, saturation 28%, lightness 43%).

#4E518B
NameHEXRGBHSLCMYKOKLCH
Twilight#4E518B78, 81, 139237°, 28%, 43%44, 42, 0, 4546.0% 0.094 280

Contrast with white text 7.31:1, with black text 2.87:1 — use white text on Twilight.

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 Twilight

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

Twilight
  • HEX#4E518B
  • RGBrgb(78 81 139)
  • HSLhsl(237 28% 43%)

Variations of Twilight

Text on Twilight

White textThe quick brown fox7.31:1 · AA pass · AAA pass
Black textThe quick brown fox2.87: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.

Twilight with color blindness

Normal #4E518B
Protanopia #3C598D
Deuteranopia #38548A
Tritanopia #3B5D67

How Twilight 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

#DEDFED
#ADAFD1
#7C7FB6
#525693
#373962
#1B1D31

Colors that go with Twilight

Six color schemes built on Twilight with classic harmony rules. The complementary scheme pairs it with Snap Pea Green (#8A8650), the color opposite it on the color wheel.

Nearest CSS named colors

Similar medium blue colors

Questions

What is the hex code for Twilight?

#4E518B — RGB 78, 81, 139, HSL 237°, 28%, 43%.

Is Twilight a warm or cool color?

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