Nightly Activities color: hex code #2E5090

#2E5090 rgb(46, 80, 144)
Shades of blue

Nightly Activities has the hex code #2E5090. It is a dark, moderate azure.

In the RGB color model it is made of 18% red, 31.4% green and 56.5% blue (46, 80, 144).

Its hue angle is 219°, with 52% saturation and 37% lightness. For print, the CMYK equivalent is 68% cyan, 44% magenta, 0% yellow and 44% black.

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

Nightly Activities (#2E5090) color codes

HEX#2E5090
RGBrgb(46, 80, 144)
RGB percentrgb(18%, 31.4%, 56.5%)
HSLhsl(219, 52%, 37%)
HSV / HSBhsv(219, 68%, 56%)
CMYKcmyk(68%, 44%, 0%, 44%)
CIE LABlab(34.66, 9.76, -39.09)
CIE LCHlch(34.66, 40.29, 284.01)
CIE XYZxyz(9.028, 8.331, 27.512)
Decimal3035280
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Nightly Activities, 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 #2E5090RatioAAAAAAA large
Sample text2.67:1FailFailFail
Sample text7.88:1PassPassPass
#2E5090 as text onRatioAAAAAAA large
Sample text7.88:1PassPassPass
Sample text2.67: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 #2E5090 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2e5090; }
.text { color: #2e5090; }
.border { border: 2px solid #2e5090; }
.transparent { background-color: rgb(46 80 144 / 50%); }
.gradient { background: linear-gradient(to right, #2e5090, #3d2e90); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

See #2E5090 on its hex code page

Questions

What color is #2E5090?
#2E5090 is a dark, moderate azure known as Nightly Activities. It belongs to the blue family of colors.
What is the RGB value of Nightly Activities?
The RGB value is 46, 80, 144: 46 red, 80 green and 144 blue on a 0 to 255 scale.
What is the complementary color of Nightly Activities?
The complementary color is #906E2E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2E5090?
White text. Black text has a contrast ratio of 2.67:1 and white text 7.88:1. WCAG asks for at least 4.5:1 for normal text.