midnightblue

#342660

Balanced

UI Preview

Pro

Conversions

RGB52, 38, 96
CMYK46, 60, 0, 62
HSL254°, 43%, 26%
LAB19, 19, -33
Closest Library Match
slate-70093% Match

Readability

13.18On WhitePASS AA
1.59On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #342660

The hexadecimal color code #342660 is a dark, moderate shade of Blue (known as midnightblue). In the RGB color model, #342660 is comprised of 52 red, 38 green, and 96 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 43%, and a lightness of 26%. 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 moderate 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 #342660.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind