Twilight to RGB — Color Code

#4e518b
Format Value
HEX #4e518b
RGB rgb(78, 81, 139)
HSL hsl(237, 28.1%, 42.5%)
CMYK cmyk(43.9%, 41.7%, 0%, 45.5%)
HSV hsv(237, 43.9%, 54.5%)

twilight color harmonies

Tints & shades of twilight

Tints (lighter)

#5e6196 #6e71a0 #7e80ab #8e90b5 #9ea0c0 #afb0ca #bfc0d5 #cfd0df #dfdfea #efeff4

Shades (darker)

#474a7e #404272 #393b65 #323458 #2b2c4c #23253f #1c1d33 #151626 #0e0f19 #07070d

Contrast & accessibility

The quick brown fox

On white · 7.31:1 · AAA

The quick brown fox

On black · 2.87:1 · Fail

Recommended text color: #ffffff

Use twilight in code

CSS color: #4e518b;
SCSS $color: #4e518b;
Tailwind bg-[#4e518b]
Swift UIColor(red: 0.306, green: 0.318, blue: 0.545, alpha: 1)
Android Color.parseColor("#4e518b")
Flutter Color(0xFF4E518B)

Colors similar to twilight

Browse all Blue colors →

What is the RGB code for twilight?

The CSS color twilight in RGB format is rgb(78, 81, 139). Use this value directly in CSS, SVG, and most design tools.

How do I use twilight in CSS?

To apply twilight in CSS:

  • Text color: color: rgb(78, 81, 139);
  • Background: background-color: rgb(78, 81, 139);
  • Border: border-color: rgb(78, 81, 139);

What are all the color format values for twilight?

FormatValue
HEX#4e518b
RGBrgb(78, 81, 139)
HSLhsl(237, 28.1%, 42.5%)
CMYKcmyk(43.9%, 41.7%, 0%, 45.5%)

How do I convert twilight to RGB?

Select twilight from the color name list in our color converter. The RGB value — rgb(78, 81, 139) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does twilight belong to?

twilight belongs to the blue color family. It is a medium, muted color with HSL values: hue 237°, saturation 28.1%, lightness 42.5%.

How do I create lighter and darker shades of twilight?

Lighter variant (lightness 57.5%): #7477b1. Darker variant (lightness 27.5%): #32345a. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.