midnightblue

#240170

VibrantElectric

UI Preview

Pro

Conversions

RGB36, 1, 112
CMYK68, 99, 0, 56
HSL259°, 98%, 22%
LAB12, 39, -56
Closest Library Match
indigo-90089% Match

Readability

15.98On WhitePASS AA
1.31On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #240170

The hexadecimal color code #240170 is a dark, intense shade of Blue (known as midnightblue). In the RGB color model, #240170 is comprised of 36 red, 1 green, and 112 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 259 degrees, a saturation of 98%, and a lightness of 22%. This color has an approximate wavelength of 470 nm. The closest web-safe color is often utilized in web design, user interfaces (UI), and vector graphics to create intense 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 #240170.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind