midnightblue

#172C52

Cool

UI Preview

Pro

Conversions

RGB23, 44, 82
CMYK72, 46, 0, 68
HSL219°, 56%, 21%
LAB18, 3, -26
Closest Library Match
slate-80095% Match

Readability

13.82On WhitePASS AA
1.51On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #172C52

The hexadecimal color code #172C52 is a dark, moderate shade of Blue (known as midnightblue). In the RGB color model, #172C52 is comprised of 23 red, 44 green, and 82 blue. In the HSL color space, which is often used in digital design and color grading, it has a hue of 219 degrees, a saturation of 56%, and a lightness of 21%. This color has an approximate wavelength of 498 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 #172C52.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind