#4040B0

Blue

HEX

RGB

HSL

About #4040B0 Blue

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

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 #4040B0 in your CSS, SCSS, or Tailwind projects.

Color Properties

240°

Hue

47%

Saturation

47%

Lightness

Blue

Color Harmonies

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

Accessibility

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

Aa#4040B0 on White
Contrast Ratio8.14:1
AA AA Large AAA
Aa#4040B0 on Black
Contrast Ratio2.58:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #4040B0 across different color formats.

FormatValue
HEX#4040B0
RGBrgb(64, 64, 176)
HSLhsl(240, 47%, 47%)
RGB Decimal64, 64, 176
RGB Percent25.1%, 25.1%, 69.0%
CMYK (approx.)64%, 64%, 0%, 31%

Related Palettes

12 palettes using #4040B0 or similar colors

#0F0E25#2C2C45#3F3E6F#3E3DAE
#111023#242051#362F7E#473EAD
#101023#23224E#2D2C82#4442A9
#111023#222050#393677#4742A9
#111322#24284D#363D77#424CA9
#131320#2B2B45#30307E#4949A1
#141320#2D2948#413A74#5144A6
#161320#2D254B#463A74#553CAE
#121221#201F51#393875#4C4AA1
#111222#1F2251#30337E#494EA1
#3C4E76#4C50A4#7F6FBE#B39CCE
#45BE8A#599BBA#4940C8#AC46C3