#4040D4

Blue

HEX

RGB

HSL

About #4040D4 Blue

#4040D4 is a blue color. In the RGB color model, it is composed of 64 red, 64 green, and 212 blue. In the HSL color space, it has a hue of 240°, saturation of 63%, and lightness of 54%.

This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #4040D4 in your CSS, SCSS, or Tailwind projects.

Color Properties

240°

Hue

63%

Saturation

54%

Lightness

Blue

Color Harmonies

Colors that work well with #4040D4 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #4040D4 against white and black backgrounds.

Aa#4040D4 on White
Contrast Ratio7.24:1
AA AA Large AAA
Aa#4040D4 on Black
Contrast Ratio2.9:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #4040D4 across different color formats.

FormatValue
HEX#4040D4
RGBrgb(64, 64, 212)
HSLhsl(240, 63%, 54%)
RGB Decimal64, 64, 212
RGB Percent25.1%, 25.1%, 83.1%
CMYK (approx.)70%, 70%, 0%, 17%

Related Palettes

12 palettes using #4040D4 or similar colors

#2662A6#423DDC#B681E4#F5BCF3
#2964A3#3E3CDD#B483E2#F2BFF1
#155BB7#493FD9#B982E3#F3BEF0
#286EA4#3E49DA#AB7AEB#EEC0F1
#2263C3#4745DE#A979E7#E6ADF0
#2268C3#4547DE#A579E7#E4ADF0
#45BE8A#599BBA#4940C8#AC46C3
#1C64B0#3B38E1#B484E1#F3BEF3
#1D5CAF#4337E1#B984E1#F4BDF0
#1B66B1#3737E1#B37BEA#F6BBF6
#2273C3#4551DE#9E79E7#E0ADF0
#1961B3#3A34E4#B67DE8#F6BBF4