#5A51B8

Blue

HEX

RGB

HSL

About #5A51B8 Blue

#5A51B8 is a blue color. In the RGB color model, it is composed of 90 red, 81 green, and 184 blue. In the HSL color space, it has a hue of 245°, saturation of 42%, and lightness of 52%.

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

Color Properties

245°

Hue

42%

Saturation

52%

Lightness

Blue

Color Harmonies

Colors that work well with #5A51B8 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #5A51B8 against white and black backgrounds.

Aa#5A51B8 on White
Contrast Ratio6.36:1
AA AA Large AAA
Aa#5A51B8 on Black
Contrast Ratio3.3:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5A51B8 across different color formats.

FormatValue
HEX#5A51B8
RGBrgb(90, 81, 184)
HSLhsl(245, 42%, 52%)
RGB Decimal90, 81, 184
RGB Percent35.3%, 31.8%, 72.2%
CMYK (approx.)51%, 56%, 0%, 28%

Related Palettes

12 palettes using #5A51B8 or similar colors

#5851BD#B264C4#C6437C#D28D6E
#5846B9#CC76D5#C63A6B#CE9671
#5646BD#C250D1#C76589#CF916B
#514FC1#AC66C2#BE4F85#D28A70
#5EB2CE#5F5FC2#AE61C8#BF5E8F
#5E60C1#B06CC8#BF6392#C97860
#5087BB#6042C0#C777C8#C76B84
#6BBFD9#5E5FC3#B359D4#D45D9A
#72C93B#73CE94#58BFCD#5764B9
#664BC7#D569D9#BA5D78#CE9D71
#6654C8#B951C5#C74A76#D29268
#67C05B#42BD90#71A6C6#695BC4