Twilight color: hex code #4E518B

#4E518B rgb(78, 81, 139)
Shades of blue

Twilight has the hex code #4E518B. It is a desaturated blue.

In the RGB color model it is made of 30.6% red, 31.8% green and 54.5% blue (78, 81, 139).

Its hue angle is 237°, with 28% saturation and 43% lightness. For print, the CMYK equivalent is 44% cyan, 42% magenta, 0% yellow and 45% black.

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

Twilight (#4E518B) color codes

HEX#4E518B
RGBrgb(78, 81, 139)
RGB percentrgb(30.6%, 31.8%, 54.5%)
HSLhsl(237, 28%, 43%)
HSV / HSBhsv(237, 44%, 55%)
CMYKcmyk(44%, 42%, 0%, 45%)
CIE LABlab(36.68, 14.67, -32.71)
CIE LCHlch(36.68, 35.85, 294.15)
CIE XYZxyz(10.743, 9.368, 25.663)
Decimal5132683
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Twilight, 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 #4E518BRatioAAAAAAA large
Sample text2.87:1FailFailFail
Sample text7.31:1PassPassPass
#4E518B as text onRatioAAAAAAA large
Sample text7.31:1PassPassPass
Sample text2.87: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 #4E518B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4e518b; }
.text { color: #4e518b; }
.border { border: 2px solid #4e518b; }
.transparent { background-color: rgb(78 81 139 / 50%); }
.gradient { background: linear-gradient(to right, #4e518b, #694e8b); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

See #4E518B on its hex code page

Questions

What color is #4E518B?
#4E518B is a desaturated blue known as Twilight. It belongs to the blue family of colors.
What is the RGB value of Twilight?
The RGB value is 78, 81, 139: 78 red, 81 green and 139 blue on a 0 to 255 scale.
What is the complementary color of Twilight?
The complementary color is #8B884E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4E518B?
White text. Black text has a contrast ratio of 2.87:1 and white text 7.31:1. WCAG asks for at least 4.5:1 for normal text.