midnightblue

#2D156A

Balanced

UI Preview

Pro

Conversions

RGB45, 21, 106
CMYK58, 80, 0, 58
HSL257°, 67%, 25%
LAB15, 30, -46
Closest Library Match
indigo-90092% Match

Readability

14.71On WhitePASS AA
1.42On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #2D156A

The hexadecimal color code #2D156A is a dark, vibrant shade of Blue (known as midnightblue). In the RGB color model, #2D156A is comprised of 45 red, 21 green, and 106 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 257 degrees, a saturation of 67%, and a lightness of 25%. This color has an approximate wavelength of 472 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 #2D156A.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind