#402EB8
Blue
HEX
RGB
HSL
About #402EB8 Blue
#402EB8 is a blue color. In the RGB color model, it is composed of 64 red, 46 green, and 184 blue. In the HSL color space, it has a hue of 248°, saturation of 60%, and lightness of 45%.
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 #402EB8 in your CSS, SCSS, or Tailwind projects.
Color Properties
248°
Hue
60%
Saturation
45%
Lightness
Blue
Color Harmonies
Colors that work well with #402EB8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #402EB8 against white and black backgrounds.
Aa#402EB8 on White
Contrast Ratio9.13:1
AA ✓AA Large ✓AAA ✓
Aa#402EB8 on Black
Contrast Ratio2.3:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #402EB8 across different color formats.
| Format | Value |
|---|---|
| HEX | #402EB8 |
| RGB | rgb(64, 46, 184) |
| HSL | hsl(248, 60%, 45%) |
| RGB Decimal | 64, 46, 184 |
| RGB Percent | 25.1%, 18.0%, 72.2% |
| CMYK (approx.) | 65%, 75%, 0%, 28% |
Related Palettes
12 palettes using #402EB8 or similar colors