#2E518C color

#2E518C rgb(46, 81, 140)
Shades of blue

The hex color #2E518C is a dark, moderate azure.

In the RGB color model it is made of 18% red, 31.8% green and 54.9% blue (46, 81, 140).

Its hue angle is 218°, with 51% saturation and 36% lightness. For print, the CMYK equivalent is 67% cyan, 42% magenta, 0% yellow and 45% black.

The closest named color is Nightly Activities (#2E5090), a difference of 0.8 ΔE, which is barely visible.

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

#2E518C color codes

HEX#2E518C
RGBrgb(46, 81, 140)
RGB percentrgb(18%, 31.8%, 54.9%)
HSLhsl(218, 51%, 36%)
HSV / HSBhsv(218, 67%, 55%)
CMYKcmyk(67%, 42%, 0%, 45%)
CIE LABlab(34.72, 7.59, -36.56)
CIE LCHlch(34.72, 37.34, 281.73)
CIE XYZxyz(8.801, 8.358, 25.955)
Decimal3035532
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #2e518c; }
.text { color: #2e518c; }
.border { border: 2px solid #2e518c; }
.transparent { background-color: rgb(46 81 140 / 50%); }
.gradient { background: linear-gradient(to right, #2e518c, #3a2e8c); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

Questions

What color is #2E518C?
#2E518C is a dark, moderate azure, closest to the named color Nightly Activities. It belongs to the blue family of colors.
What is the RGB value of #2E518C?
The RGB value is 46, 81, 140: 46 red, 81 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #2E518C?
The complementary color is #8C692E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2E518C?
White text. Black text has a contrast ratio of 2.67:1 and white text 7.86:1. WCAG asks for at least 4.5:1 for normal text.