#040CA6

Vivid Blue

HEX

RGB

HSL

About #040CA6 Vivid Blue

#040CA6 is a vivid blue color. In the RGB color model, it is composed of 4 red, 12 green, and 166 blue. In the HSL color space, it has a hue of 237°, saturation of 95%, and lightness of 33%.

This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.

CSS Code & Gradients

Use #040CA6 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

237°

Hue

95%

Saturation

33%

Lightness

Vivid Blue

Color Harmonies

Colors that work well with #040CA6 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #040CA6 against white and black backgrounds.

Aa#040CA6 on White
Contrast Ratio13.06:1
AA AA Large AAA
Aa#040CA6 on Black
Contrast Ratio1.61:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #040CA6 across different color formats.

FormatValue
HEX#040CA6
RGBrgb(4, 12, 166)
HSLhsl(237, 95%, 33%)
RGB Decimal4, 12, 166
RGB Percent1.6%, 4.7%, 65.1%
CMYK (approx.)98%, 93%, 0%, 35%

Related Palettes

12 palettes using #040CA6 or similar colors

#151BB7#8738E0#E37FE6#F4BEDB
#1629B6#7A3FD9#DD7BEA#F6BBE0
#2523A9#8F33E5#ED78EB#F6BBD8
#281BB1#993EDB#EE77E4#F1C1D5
#2917B5#A037E2#EB7ADE#F7BAD2
#192EB3#763ADF#DC7AEB#F5BDE0
#1E2FAE#7B41D8#DB7DE8#F7BAE0
#2B26A6#9144D5#E580E1#F1C1D7
#2222C3#8545DE#D579E7#F0ADE0
#2F21AB#9E35E4#EE77E2#F5BCD3
#2522C3#8745DE#D779E7#F0ADDE
#2630A6#8042D6#E279EC#F7BADE