#402EB2

Blue

HEX

RGB

HSL

About #402EB2 Blue

#402EB2 is a blue color. In the RGB color model, it is composed of 64 red, 46 green, and 178 blue. In the HSL color space, it has a hue of 248°, saturation of 59%, and lightness of 44%.

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 & Gradients

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

Beautiful Gradients

Color Properties

248°

Hue

59%

Saturation

44%

Lightness

Blue

Color Harmonies

Colors that work well with #402EB2 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #402EB2 against white and black backgrounds.

Aa#402EB2 on White
Contrast Ratio9.33:1
AA AA Large AAA
Aa#402EB2 on Black
Contrast Ratio2.25:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #402EB2 across different color formats.

FormatValue
HEX#402EB2
RGBrgb(64, 46, 178)
HSLhsl(248, 59%, 44%)
RGB Decimal64, 46, 178
RGB Percent25.1%, 18.0%, 69.8%
CMYK (approx.)64%, 74%, 0%, 30%

Related Palettes

12 palettes using #402EB2 or similar colors

#0F0E25#2C2C45#3F3E6F#3E3DAE
#3A27A5#A734E4#E67FD6#F4BED1
#3A20AC#AB38E0#EC79D7#F2BFCF
#3B1FAD#AD3BDE#E97CD3#F4BDCE
#111023#242051#362F7E#473EAD
#3628A4#A037E2#E184D6#F1C1D3
#3425A7#9F3CDC#E184D6#F6BCD2
#461CB0#B643D6#E580C8#F2BFCA
#4E23A9#C03BDD#E87DC6#F4BDC7
#4022C3#A145DE#E779E5#F0ADD3
#3D22C3#9E45DE#E779E7#F0ADD4
#141122#22184E#3E3564#432F9D