midnightblue

#2E1580

Balanced

UI Preview

Pro

Conversions

RGB46, 21, 128
CMYK64, 84, 0, 50
HSL254°, 72%, 29%
LAB18, 36, -56
Closest Library Match
indigo-90094% Match

Readability

13.67On WhitePASS AA
1.53On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #2E1580

The hexadecimal color code #2E1580 is a dark, vibrant shade of Blue (known as midnightblue). In the RGB color model, #2E1580 is comprised of 46 red, 21 green, and 128 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 254 degrees, a saturation of 72%, and a lightness of 29%. This color has an approximate wavelength of 474 nm. The closest web-safe color is often utilized in web design, user interfaces (UI), and vector graphics to create vibrant Blue atmospheres. Designers searching for Blue color schemes often pair this with its complementary color or use it as an accent against neutral backgrounds. It is commonly used in digital design for backgrounds, typography, and accent elements. When paired with its complementary color in the palette below, it creates a high-contrast visual hierarchy. Engineers can implement this color using the CSS hex code #2E1580.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind