Twilight
Twilight is a dark, muted blue color with the hex code #4E518B (hue 237°, saturation 28%, lightness 43%).
- HEX
#4E518B - RGB
rgb(78 81 139) - HSL
hsl(237 28% 43%) - OKLCH
oklch(46.0% 0.094 280)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Twilight | #4E518B | 78, 81, 139 | 237°, 28%, 43% | 44, 42, 0, 45 | 46.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.
- HEX
#4E518B - RGB
rgb(78 81 139) - HSL
hsl(237 28% 43%)
Variations of Twilight
Text on Twilight
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
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
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.
- Twilight Complementary Color Scheme#4E518B#7C83BC#8A8650#5C5638#B8BA87
- Twilight Analogous Color Scheme#538B89#4E7287#4E518B#6A5287#8B4F90
- Twilight Triadic Color Scheme#4E518B#8E5151#558D4F#888CBA#5A3532
- Twilight Split-complementary Color Scheme#4E518B#8B6A4F#728A51#33365B#B49073
- Twilight Tetradic Color Scheme#4E518B#904C6F#8A8650#52896B#888CBA
- Twilight Monochromatic Color Scheme#17182B#33365B#4E518B#757CAF#A3A7CC
Nearest CSS named colors
- Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is darker than Twilight (relative luminance 0.066 vs 0.094) and more saturated, with its hue 11° away. - Rebecca Purple (
rebeccapurple): Rebecca Purple (#663399) is darker than Twilight (relative luminance 0.075 vs 0.094) and more saturated, with its hue 33° away. - Dim Gray (
dimgray): Dim Gray (#696969) is lighter than Twilight (relative luminance 0.141 vs 0.094) and less saturated. - Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is darker than Twilight (relative luminance 0.068 vs 0.094) and equally saturated, with its hue 57° away.
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.