midnightblue

#2E104C

Balanced

UI Preview

Pro

Conversions

RGB46, 16, 76
CMYK39, 79, 0, 70
HSL270°, 65%, 18%
LAB12, 25, -31
Closest Library Match
slate-80092% Match

Readability

16.22On WhitePASS AA
1.29On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #2E104C

The hexadecimal color code #2E104C is a very dark, vibrant shade of Purple (known as midnightblue). In the RGB color model, #2E104C is comprised of 46 red, 16 green, and 76 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 270 degrees, a saturation of 65%, and a lightness of 18%. This color has an approximate wavelength of 463 nm. The closest web-safe color is often utilized in web design, user interfaces (UI), and vector graphics to create vibrant Purple atmospheres. Designers searching for Purple 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 #2E104C.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind