midnightblue

#331974

Balanced

UI Preview

Pro

Conversions

RGB51, 25, 116
CMYK56, 78, 0, 55
HSL257°, 65%, 28%
LAB18, 31, -49
Closest Library Match
indigo-90094% Match

Readability

13.70On WhitePASS AA
1.53On BlackFAIL

For optimal readability, use White text on this background.

Magic Gradients

subtle
Copy CSS
vibrant
Copy CSS
rich
Copy CSS

About #331974

The hexadecimal color code #331974 is a dark, vibrant shade of Blue (known as midnightblue). In the RGB color model, #331974 is comprised of 51 red, 25 green, and 116 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 65%, and a lightness of 28%. 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 #331974.

Vision Simulation

ProtanopiaRed-blind
DeuteranopiaGreen-blind
TritanopiaBlue-blind