ColourPilot

Dark Blue

Hex Code #040CA2

Color Analysis Summary

Color #040CA2, historically referred to as Dark Blue, is a beautifully balanced color tone. Mathematically, in the RGB (Red, Green, Blue) spectrum, this color is formulated by mixing 2% red, 5% green, and 64% blue. These digital components translate to exact numerical values of Red: 4, Green: 12, and Blue: 162. In terms of web formatting, this exact tone is declared in stylesheets using the hex code #040CA2. For designers working with cylindrical coordinates, its HSL values are mapped to a hue angle of 237°, a saturation of 95%, and a lightness index of 33%. In the HSV (Hue, Saturation, Value) model, it retains a brightness value of 64%. Because of its specific lightness, this tone offers distinct visual contrast properties. Incorporating #040CA2 into your UI layout is highly recommended for building visual hierarchy, either as a primary brand marker or a subtle secondary accent. When paired with its programmatic complement or analogous siblings, it creates a highly professional and accessible color scheme.

Color Code Formats

RGB (Red, Green, Blue)4, 12, 162
HSL (Hue, Sat, Lightness)237°, 95%, 33%
HSV (Hue, Sat, Value)237°, 98%, 64%
CSS Valuergb(4, 12, 162)

WCAG 2.1 Contrast & Accessibility Check

On White Background13.3:1
AA Normal Text (4.5:1)PASS
AA Large Text (3.0:1)PASS
AAA Normal Text (7.0:1)PASS
AAA Large Text (4.5:1)PASS
On Black Background1.58:1
AA Normal Text (4.5:1)FAIL
AA Large Text (3.0:1)FAIL
AAA Normal Text (7.0:1)FAIL
AAA Large Text (4.5:1)FAIL

Color Harmonies

Complementary Harmony

Analogous Harmony

Triadic Harmony

Monochromatic Harmony

Shades of Dark Blue

Tints of Dark Blue