midnightblue

#152872

Cool

UI Preview

Pro

Conversions

RGB21, 40, 114
CMYK82, 65, 0, 55
HSL228°, 69%, 26%
LAB19, 16, -46
Closest Library Match
blue-90093% Match

Readability

13.30On WhitePASS AA
1.57On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #152872

The hexadecimal color code #152872 is a dark, vibrant shade of Blue (known as midnightblue). In the RGB color model, #152872 is comprised of 21 red, 40 green, and 114 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 228 degrees, a saturation of 69%, and a lightness of 26%. This color has an approximate wavelength of 492 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 #152872.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind